diff options
| author | Yinghai Lu <[email protected]> | 2014-01-29 22:05:52 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-30 00:22:40 +0000 |
| commit | f544e14f3e765b5241d7f234fee677506b8ce07f (patch) | |
| tree | ba464a2d62322b53ff432a7c491b258b52a164ea /lib/dma-debug.c | |
| parent | mm/readahead.c: fix do_readahead() for no readpage(s) (diff) | |
| download | kernel-f544e14f3e765b5241d7f234fee677506b8ce07f.tar.gz kernel-f544e14f3e765b5241d7f234fee677506b8ce07f.zip | |
memblock: add limit checking to memblock_virt_alloc
In original bootmem wrapper for memblock, we have limit checking.
Add it to memblock_virt_alloc, to address arm and x86 booting crash.
Signed-off-by: Yinghai Lu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Reported-by: Kevin Hilman <[email protected]>
Tested-by: Kevin Hilman <[email protected]>
Reported-by: Olof Johansson <[email protected]>
Tested-by: Olof Johansson <[email protected]>
Reported-by: Konrad Rzeszutek Wilk <[email protected]>
Tested-by: Konrad Rzeszutek Wilk <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Santosh Shilimkar <[email protected]>
Cc: "Strashko, Grygorii" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
