Merge branch 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-setup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86, e820: Guard against array overflowed in __e820_add_region() x86, setup: remove obsolete pre-Kconfig CONFIG_VIDEO_ variables
This commit is contained in:
@@ -31,7 +31,6 @@ static inline void vesa_store_mode_params_graphics(void) {}
|
||||
|
||||
static int vesa_probe(void)
|
||||
{
|
||||
#if defined(CONFIG_VIDEO_VESA) || defined(CONFIG_FIRMWARE_EDID)
|
||||
struct biosregs ireg, oreg;
|
||||
u16 mode;
|
||||
addr_t mode_ptr;
|
||||
@@ -49,8 +48,7 @@ static int vesa_probe(void)
|
||||
vginfo.signature != VESA_MAGIC ||
|
||||
vginfo.version < 0x0102)
|
||||
return 0; /* Not present */
|
||||
#endif /* CONFIG_VIDEO_VESA || CONFIG_FIRMWARE_EDID */
|
||||
#ifdef CONFIG_VIDEO_VESA
|
||||
|
||||
set_fs(vginfo.video_mode_ptr.seg);
|
||||
mode_ptr = vginfo.video_mode_ptr.off;
|
||||
|
||||
@@ -102,9 +100,6 @@ static int vesa_probe(void)
|
||||
}
|
||||
|
||||
return nmodes;
|
||||
#else
|
||||
return 0;
|
||||
#endif /* CONFIG_VIDEO_VESA */
|
||||
}
|
||||
|
||||
static int vesa_set_mode(struct mode_info *mode)
|
||||
|
Reference in New Issue
Block a user