diff options
author | Ard van Breemen <ard@telegraafnet.nl> | 2007-01-05 16:36:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-05 23:55:21 -0800 |
commit | c4a68306b9c0939b3facdad2cc5e34d660ff463a (patch) | |
tree | cd4479ae882bb52b00d71f85956ba8e1d0fdc03b /kernel | |
parent | 34f1ca540679f61a02b7406f036d9edde9717ee2 (diff) |
[PATCH] start_kernel: test if irq's got enabled early, barf, and disable them again
The calls made by parse_parms to other initialization code might enable
interrupts again way too early.
Having interrupts on this early can make systems PANIC when they initialize
the IRQ controllers (which happens later in the code). This patch detects
that irq's are enabled again, barfs about it and disables them again as a
safety net.
[akpm@osdl.org: cleanups]
Signed-off-by: Ard van Breemen <ard@telegraafnet.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions