Commit 5140ba66 authored by Piotr Kaczuba's avatar Piotr Kaczuba Committed by Linus Torvalds

[PATCH] make vram boot option actually work

The following patch makes the vram boot option actually be recognized
and its value assigned to the vram variable.
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6de48267
...@@ -207,7 +207,7 @@ int __init vesafb_setup(char *options) ...@@ -207,7 +207,7 @@ int __init vesafb_setup(char *options)
mtrr=1; mtrr=1;
else if (! strcmp(this_opt, "nomtrr")) else if (! strcmp(this_opt, "nomtrr"))
mtrr=0; mtrr=0;
else if (! strcmp(this_opt, "vram")) else if (! strncmp(this_opt, "vram=", 5))
vram = simple_strtoul(this_opt+5, NULL, 0); vram = simple_strtoul(this_opt+5, NULL, 0);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment