aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/memtest.c
Commit message (Collapse)AuthorAgeFilesLines
* x86: memtest fix use of reserve_early()Daniele Calore2008-10-221-4/+3
| | | | | | | | | | | | | | | Hi all, Wrong usage of 2nd parameter in reserve_early call. 66/75: reserve_early(start_bad, last_bad - start_bad, "BAD RAM"); ^^^^^^^^^^^^^^^^^^^^ The correct way is to use 'end' address and not 'size'. As a bonus a fix to the printk format. Signed-off-by: Daniele Calore <orkaan@orkaan.org> Acked-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: seperate memtest from init_64.cYinghai Lu2008-07-181-0/+123
it's separate functionality that deserves its own file. This also prepares 32-bit memtest support. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>