]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] kernelparams: detect if and which parameter parsing enabled irq's
authorArd van Breemen <ard@telegraafnet.nl>
Sat, 6 Jan 2007 00:36:20 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:21 +0000 (23:55 -0800)
commita416aba637dcb4127595c02a59041cd278422f7e
treee99c948c07e42e6e387bc84260e456e55a0fbd60
parentc4a68306b9c0939b3facdad2cc5e34d660ff463a
[PATCH] kernelparams: detect if and which parameter parsing enabled irq's

The parsing of some kernel parameters seem to enable irq's at a stage that
irq's are not supposed to be enabled (Particularly the ide kernel parameters).

Having irq's enabled before the irq controller is initialized might lead to a
kernel panic.  This patch only detects this behaviour and warns about wich
parameter caused it.

[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>
kernel/params.c