mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 06:08:22 +00:00
uvesafb: Really allow mtrr being 0, as documented and warn()ed
Fixup for commit "uvesafb: Clean up MTRR code"
(63e28a7a5f
)
Signed-off-by: Sylvain "ythier" Hitier <sylvain.hitier@gmail.com>
Acked-by: Andy Lutomirski <luto@amacapital.net>
Also-spotted-by: Torsten Kaiser <just.for.lkml@googlemail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d4639ebadb
commit
d1ce3d5496
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue