summaryrefslogtreecommitdiff
path: root/include/linux/bottom_half.h
blob: 37dc35658a1bf9a87a1fd9b8bbdc3f71fc090b2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _LINUX_BH_H
#define _LINUX_BH_H

#ifdef CONFIG_PREEMPT_HARDIRQS
# define local_bh_disable()		do { } while (0)
# define __local_bh_disable(ip)		do { } while (0)
# define _local_bh_enable()		do { } while (0)
# define local_bh_enable()		do { } while (0)
# define local_bh_enable_ip(ip)		do { } while (0)
#else
extern void local_bh_disable(void);
extern void _local_bh_enable(void);
extern void local_bh_enable(void);
extern void local_bh_enable_ip(unsigned long ip);
#endif

#endif /* _LINUX_BH_H */