Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294354
b: refs/heads/master
c: 6bff98b
h: refs/heads/master
v: v3
  • Loading branch information
Florian Tobias Schandinat authored and Florian Tobias Schandinat committed Mar 21, 2012
1 parent 2370d6f commit e70c1d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc7e57fa80ec5231e33ee2f51f6211c9fb84b9e3
refs/heads/master: 6bff98b455cf3e666fd0e3d0d908eba874de0eee
12 changes: 2 additions & 10 deletions trunk/drivers/video/uvesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <video/uvesafb.h>
#ifdef CONFIG_X86
#include <video/vga.h>
#include <linux/pci.h>
#endif
#ifdef CONFIG_MTRR
#include <asm/mtrr.h>
Expand Down Expand Up @@ -816,15 +815,8 @@ static int __devinit uvesafb_vbe_init(struct fb_info *info)
par->pmi_setpal = pmi_setpal;
par->ypan = ypan;

if (par->pmi_setpal || par->ypan) {
if (pcibios_enabled) {
uvesafb_vbe_getpmi(task, par);
} else {
par->pmi_setpal = par->ypan = 0;
printk(KERN_WARNING "uvesafb: PCI BIOS area is NX."
"Can't use protected mode interface\n");
}
}
if (par->pmi_setpal || par->ypan)
uvesafb_vbe_getpmi(task, par);
#else
/* The protected mode interface is not available on non-x86. */
par->pmi_setpal = par->ypan = 0;
Expand Down

0 comments on commit e70c1d2

Please sign in to comment.