Re: [patch 24/32] add bottom_half.h

Thomas Backlund
2006-12-09T13:50:38Z

Chris Wright wrote:
> -stable review patch. If anyone has any objections, please let us know.
> ------------------
>
> From: Andrew Morton <akpm@osdl.org>
>
> 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 bothj interrupt.h and spinlock.h.
>
> Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
> Cc: Andi Kleen <ak@suse.de>
> Cc: <stable@kernel.org>
> Cc: Ingo Molnar <mingo@elte.hu>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
> ---
>
> include/linux/bottom_half.h | 5 +++++

This file is missing in patch-2.6.19.1-rc[1,2].bz2

--
Thomas