LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH][2.6.7-rc2][vesafb.c] make vram boot option actually work
@ 2004-05-30 16:59 Piotr Kaczuba
  0 siblings, 0 replies; only message in thread
From: Piotr Kaczuba @ 2004-05-30 16:59 UTC (permalink / raw)
  To: linux-kernel

The following patch makes the vram boot option actually be recognized  
and its value assigned to the vram variable.




--- vesafb.c.orig       2004-05-30 18:43:42.000000000 +0200
+++ vesafb.c    2004-05-30 18:43:18.000000000 +0200
@@ -207,7 +207,7 @@
                        mtrr=1;
                else if (! strcmp(this_opt, "nomtrr"))
                        mtrr=0;
-               else if (! strcmp(this_opt, "vram"))
+               else if (! strncmp(this_opt, "vram=", 5))
                        vram = simple_strtoul(this_opt+5, NULL, 0);
        }
        return 0;


Piotr Kaczuba

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-30 16:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-30 16:59 [PATCH][2.6.7-rc2][vesafb.c] make vram boot option actually work Piotr Kaczuba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).