m68k: Allow no CPU/platform type for allnoconfig
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 17 Jul 2008 19:16:12 +0000 (21:16 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Jul 2008 00:24:38 +0000 (17:24 -0700)
commitedfd92f67eec1bdd905dd7841416eaf945a5b92f
treed44b5ac37d964b4ec3b28a56a35f03dfb420e93a
parent97d26e73d729c8d967bc5eb9086321956c444dd4
m68k: Allow no CPU/platform type for allnoconfig

Allow no CPU/platform type for allnoconfig
  - Provide a dummy value for FPSTATESIZE if no CPU type was selected
  - Provide a dummy value for NR_IRQS if no platform type was selected
  - Warn the user if no CPU or platform type was selected

Note: you still cannot build an allnoconfig kernel, as CONFIG_SWAP=n doesn't
build and we cannot easily fix that
(http://groups.google.com/group/linux.kernel/browse_thread/thread/d430c78b07e1827b)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/kernel/setup.c
include/asm-m68k/fpu.h
include/asm-m68k/irq.h
include/asm-m68k/tlbflush.h