]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: memtest fix use of reserve_early()
authorDaniele Calore <orkaan@orkaan.org>
Mon, 13 Oct 2008 08:34:12 +0000 (10:34 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 15:08:06 +0000 (17:08 +0200)
commit2cb0ebeeb664e6eefe06951709949203e04f7c7b
tree099d3a8f131417924471920aa70fd5867f19fb1f
parent746e7cef1b3de5516e07f16a448f0d2a092e3d36
x86: memtest fix use of reserve_early()

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>
arch/x86/mm/memtest.c