]> Git Repo - J-linux.git/commitdiff
x86-64: Allow fbdev primary video code
authorDave Airlie <[email protected]>
Thu, 7 Jan 2010 07:04:54 +0000 (17:04 +1000)
committerH. Peter Anvin <[email protected]>
Wed, 17 Feb 2010 05:22:26 +0000 (21:22 -0800)
For some reason the 64-bit tree was doing this differently and
I can't see why it would need to.

This correct behaviour when you have two GPUs plugged in and
32-bit put the console in one place and 64-bit in another.

Signed-off-by: Dave Airlie <[email protected]>
LKML-Reference: <1262847894[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
arch/x86/Makefile
arch/x86/include/asm/fb.h

index 78b32be55e9e7a82dafcdf96a5b59be4a26decd8..0a43dc515e4c10dcd38f2d5adbd7e42b614069f4 100644 (file)
@@ -135,9 +135,7 @@ drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/
 # suspend and hibernation support
 drivers-$(CONFIG_PM) += arch/x86/power/
 
-ifeq ($(CONFIG_X86_32),y)
 drivers-$(CONFIG_FB) += arch/x86/video/
-endif
 
 ####
 # boot loader support. Several targets are kept for legacy purposes
index 53018464aea653a407dc32e6be3d95ac14230306..2519d0679d990963993eb8e024fbdd00e55df477 100644 (file)
@@ -12,10 +12,6 @@ static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma,
                pgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
 }
 
-#ifdef CONFIG_X86_32
 extern int fb_is_primary_device(struct fb_info *info);
-#else
-static inline int fb_is_primary_device(struct fb_info *info) { return 0; }
-#endif
 
 #endif /* _ASM_X86_FB_H */
This page took 0.0503 seconds and 4 git commands to generate.