[PATCH] powerpc: make OF interrupt tree parsing more strict
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 10 Jul 2006 11:44:45 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:20 +0000 (13:24 -0700)
commit58d383a6222d66be9483598c51bae34e7d3c2c37
tree54641bdccdb52635c28579c2a08aa941c813a878
parentf620753b9584558cd3bcc1712fca16663aacdce4
[PATCH] powerpc: make OF interrupt tree parsing more strict

This patch fixes a bit of boundchecking in the new Open Firmware interrupt
tree parsing code.  It's important that it fails when things aren't correct in
order to trigger fallback mecanisms that are necessary to make some machines
work properly.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/kernel/prom_parse.c