linux/include/linux/bottom_half.h
<<
>>
Prefs
   1#ifndef _LINUX_BH_H
   2#define _LINUX_BH_H
   3
   4#include <linux/preempt.h>
   5#include <linux/preempt_mask.h>
   6
   7#ifdef CONFIG_TRACE_IRQFLAGS
   8extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
   9#else
  10static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt)
  11{
  12        add_preempt_count(cnt);
  13        barrier();
  14}
  15#endif
  16
  17extern void local_bh_disable(void);
  18extern void _local_bh_enable(void);
  19extern void local_bh_enable(void);
  20extern void local_bh_enable_ip(unsigned long ip);
  21extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
  22
  23#endif /* _LINUX_BH_H */
  24