From 58ebb0e6b71e2e3982c53e799b57abac3d70b749 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 13 Apr 2003 22:14:31 -0700 Subject: [PATCH] Store EDID only when CONFIG_VIDEO_SELECT is set and edid function actually exists. --- arch/i386/boot/video.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/i386/boot/video.S b/arch/i386/boot/video.S index 2e1f38ba94249..7e2c665e6a530 100644 --- a/arch/i386/boot/video.S +++ b/arch/i386/boot/video.S @@ -133,9 +133,9 @@ vid1: #ifdef CONFIG_VIDEO_RETAIN call restore_screen # Restore screen contents #endif /* CONFIG_VIDEO_RETAIN */ + call store_edid #endif /* CONFIG_VIDEO_SELECT */ call mode_params # Store mode parameters - call store_edid popw %ds # Restore original DS ret -- 2.53.0