diff options
author | Yinghai Lu <[email protected]> | 2009-07-01 12:32:18 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-07-02 12:11:12 -0700 |
commit | 7c5371c403abb29f01bc6cff6c5096abdf2dc524 (patch) | |
tree | 8c087cac6358dfefa14e6819c4b4dbb4c7326af4 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 43644679a1e80f53e6e0155ab75b1093ba3c0365 (diff) |
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 <[email protected]>
Signed-off-by: Yinghai Lu <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions