summaryrefslogtreecommitdiff
path: root/include/asm-v850/bitops.h
diff options
context:
space:
mode:
authorDave Hansen <haveblue@us.ibm.com>2005-10-30 14:59:37 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:12 -0800
commitf014a556e714dfb02502e3be6146a39ca625f33c (patch)
tree95c76676a23f8d57731681f5987084f05555af15 /include/asm-v850/bitops.h
parent750deaa4021da1cf9fdb1e20861a10c76fd7f2bc (diff)
[PATCH] fixup bogus e820 entry with mem=
This was reported because someone was getting oopses reading /proc/iomem. It was tracked down to a zero-sized 'struct resource' entry which was located right at 4GB. You need two conditions to hit this bug: a BIOS E820_RAM area starting at exactly the boundary where you specify mem= (to get a zero-sized entry), and for the legacy_init_iomem_resources() loop to skip that resource (which only happens at exactly 4G). I think the killing zero-sized e820 entry is the easiest way to fix this. Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-v850/bitops.h')
0 files changed, 0 insertions, 0 deletions