repo init
[linux-rt-nao.git] / include / linux / bottom_half.h
blob37dc35658a1bf9a87a1fd9b8bbdc3f71fc090b2a
1 #ifndef _LINUX_BH_H
2 #define _LINUX_BH_H
4 #ifdef CONFIG_PREEMPT_HARDIRQS
5 # define local_bh_disable() do { } while (0)
6 # define __local_bh_disable(ip) do { } while (0)
7 # define _local_bh_enable() do { } while (0)
8 # define local_bh_enable() do { } while (0)
9 # define local_bh_enable_ip(ip) do { } while (0)
10 #else
11 extern void local_bh_disable(void);
12 extern void _local_bh_enable(void);
13 extern void local_bh_enable(void);
14 extern void local_bh_enable_ip(unsigned long ip);
15 #endif
17 #endif /* _LINUX_BH_H */