summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-07-01 21:32:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-02 21:11:12 +0200
commit7c5371c403abb29f01bc6cff6c5096abdf2dc524 (patch)
tree8c087cac6358dfefa14e6819c4b4dbb4c7326af4 /kernel/printk.c
parentx86: fix power-of-2 round_up/round_down macros (diff)
downloadlinux-7c5371c403abb29f01bc6cff6c5096abdf2dc524.tar.xz
linux-7c5371c403abb29f01bc6cff6c5096abdf2dc524.zip
x86: add boundary check for 32bit res before expand e820 resource to alignment
fix hang with HIGHMEM_64G and 32bit resource. According to hpa and Linus, use (resource_size_t)-1 to fend off big ranges. Analyzed by hpa Reported-and-tested-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions