diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-07-17 15:16:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:24:38 -0400 |
commit | edfd92f67eec1bdd905dd7841416eaf945a5b92f (patch) | |
tree | d44b5ac37d964b4ec3b28a56a35f03dfb420e93a /include/asm-m68k/irq.h | |
parent | 97d26e73d729c8d967bc5eb9086321956c444dd4 (diff) |
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>
Diffstat (limited to 'include/asm-m68k/irq.h')
-rw-r--r-- | include/asm-m68k/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/irq.h b/include/asm-m68k/irq.h index eb29a526059..226bfc0f21b 100644 --- a/include/asm-m68k/irq.h +++ b/include/asm-m68k/irq.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #elif defined(CONFIG_HP300) | 24 | #elif defined(CONFIG_HP300) |
25 | #define NR_IRQS 8 | 25 | #define NR_IRQS 8 |
26 | #else | 26 | #else |
27 | #error unknown nr of irqs | 27 | #define NR_IRQS 0 |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | /* | 30 | /* |