Skip to content

Commit

Permalink
x86: make "memtest" like "memtest=17"
Browse files Browse the repository at this point in the history
Impact: make boot command line "memtest" do one loop by default

So don't need to guess many patterns in one loop.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B10532.3020105@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Mar 6, 2009
1 parent 31bbed5 commit d1a8e77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/x86/mm/memtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ static int __init parse_memtest(char *arg)
{
if (arg)
memtest_pattern = simple_strtoul(arg, NULL, 0);
else
memtest_pattern = ARRAY_SIZE(patterns);

return 0;
}

Expand Down

0 comments on commit d1a8e77

Please sign in to comment.