aboutsummaryrefslogtreecommitdiff
path: root/include/linux/bottom_half.h
AgeCommit message (Collapse)AuthorFilesLines
2006-12-07[PATCH] add bottom_half.hAndrew Morton1-0/+10
With CONFIG_SMP=n: drivers/input/ff-memless.c:384: warning: implicit declaration of function 'local_bh_disable' drivers/input/ff-memless.c:393: warning: implicit declaration of function 'local_bh_enable' Really linux/spinlock.h should include linux/interrupt.h. But interrupt.h includes sched.h which will need spinlock.h. So the patch breaks the _bh declarations out into a separate header and includes it in both interrupt.h and spinlock.h. Cc: "Randy.Dunlap" <[email protected]> Cc: Andi Kleen <[email protected]> Cc: <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>