Skip to content

Commit 35b4f4d

Browse files
rddunlaphdeller
authored andcommitted
fbdev: uvesafb: don't build on UML
The uvesafb fbdev driver uses memory management information that is not available on ARCH=um, so don't allow this driver to be built on UML. Prevents these build errors: ../drivers/video/fbdev/uvesafb.c: In function ‘uvesafb_vbe_init’: ../drivers/video/fbdev/uvesafb.c:807:21: error: ‘__supported_pte_mask’ undeclared (first use in this function) 807 | if (__supported_pte_mask & _PAGE_NX) { ../drivers/video/fbdev/uvesafb.c:807:44: error: ‘_PAGE_NX’ undeclared (first use in this function) 807 | if (__supported_pte_mask & _PAGE_NX) { Fixes: 68f5d3f ("um: add PCI over virtio emulation driver") Signed-off-by: Randy Dunlap <[email protected]> Cc: Johannes Berg <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: [email protected] Cc: Daniel Vetter <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Michal Januszewski <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 71c53e1 commit 35b4f4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ config FB_TGA
609609
config FB_UVESA
610610
tristate "Userspace VESA VGA graphics support"
611611
depends on FB && CONNECTOR
612+
depends on !UML
612613
select FB_CFB_FILLRECT
613614
select FB_CFB_COPYAREA
614615
select FB_CFB_IMAGEBLIT

0 commit comments

Comments
 (0)