Commit d1ce3d54 authored by Sylvain 'ythier' Hitier's avatar Sylvain 'ythier' Hitier Committed by Dave Airlie

uvesafb: Really allow mtrr being 0, as documented and warn()ed

Fixup for commit "uvesafb: Clean up MTRR code"
    (63e28a7a)
Signed-off-by: default avatarSylvain "ythier" Hitier <sylvain.hitier@gmail.com>
Acked-by: default avatarAndy Lutomirski <luto@amacapital.net>
Also-spotted-by: default avatarTorsten Kaiser <just.for.lkml@googlemail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent d4639eba
...@@ -1891,7 +1891,7 @@ static int uvesafb_setup(char *options) ...@@ -1891,7 +1891,7 @@ static int uvesafb_setup(char *options)
} }
} }
if (mtrr != 3 && mtrr != 1) if (mtrr != 3 && mtrr != 0)
pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr);
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