Patch "fbdev: uvesafb: don't build on UML" has been added to the 6.0-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    fbdev: uvesafb: don't build on UML

to the 6.0-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     fbdev-uvesafb-don-t-build-on-uml.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a91337299e2c91db395a5f6173dad849903a1b5b
Author: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Date:   Wed Nov 30 13:55:59 2022 -0800

    fbdev: uvesafb: don't build on UML
    
    [ Upstream commit 35b4f4d4a725cf8f8c10649163cd12aed509b953 ]
    
    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: 68f5d3f3b654 ("um: add PCI over virtio emulation driver")
    Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
    Cc: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
    Cc: Richard Weinberger <richard@xxxxxx>
    Cc: linux-um@xxxxxxxxxxxxxxxxxxx
    Cc: Daniel Vetter <daniel@xxxxxxxx>
    Cc: Helge Deller <deller@xxxxxx>
    Cc: linux-fbdev@xxxxxxxxxxxxxxx
    Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
    Cc: Michal Januszewski <spock@xxxxxxxxxx>
    Signed-off-by: Helge Deller <deller@xxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 9497fe929162..974e862cd20d 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -601,6 +601,7 @@ config FB_TGA
 config FB_UVESA
 	tristate "Userspace VESA VGA graphics support"
 	depends on FB && CONNECTOR
+	depends on !UML
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux