[PATCH] m68k: compile fix - hardirq checks were in wrong place
commit85b07cd1aa50aca8331e5dfe3b2ccb2eb391b183
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 12 Jan 2006 09:06:10 +0000 (12 01:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:08:59 +0000 (12 09:08 -0800)
tree959d39c4d7072a9266b0989c13f5c7ece8656c9f
parentf5a61d0c13db3522a996075bc1b1884a8af2ed37
[PATCH] m68k: compile fix - hardirq checks were in wrong place

move the sanity check for NR_IRQS being no more than 1<<HARDIRQ_BITS from
asm-m68k/hardirq.h to asm-m68k/irq.h; needed since NR_IRQS is not necessary
know at the points of inclusion of asm/hardirq.h due to the rather ugly header
dependencies on m68k.  Fix is by far simpler than trying to massage those
dependencies...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m68k/hardirq.h
include/asm-m68k/irq.h