[kernel] r19436 - in dists/sid/linux/debian: . patches patches/features/x86/efi-stub

Ben Hutchings benh at alioth.debian.org
Fri Oct 12 04:05:06 UTC 2012


Author: benh
Date: Fri Oct 12 04:05:04 2012
New Revision: 19436

Log:
[x86] efi: Build EFI stub with EFI-appropriate options

Added:
   dists/sid/linux/debian/patches/features/x86/efi-stub/0018-efi-Build-EFI-stub-with-EFI-appropriate-options.patch
Modified:
   dists/sid/linux/debian/changelog
   dists/sid/linux/debian/patches/series

Modified: dists/sid/linux/debian/changelog
==============================================================================
--- dists/sid/linux/debian/changelog	Fri Oct 12 03:28:22 2012	(r19435)
+++ dists/sid/linux/debian/changelog	Fri Oct 12 04:05:04 2012	(r19436)
@@ -34,6 +34,7 @@
   * udeb: Add hid-logitech-dj to input-modules (Closes: #661379)
   * connector: Make CONNECTOR built-in; enable PROC_EVENTS (Closes: #588200)
   * e1000e: Change wthresh to 1 to avoid possible Tx stalls
+  * [x86] efi: Build EFI stub with EFI-appropriate options
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sat, 29 Sep 2012 14:19:46 +0200
 

Added: dists/sid/linux/debian/patches/features/x86/efi-stub/0018-efi-Build-EFI-stub-with-EFI-appropriate-options.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux/debian/patches/features/x86/efi-stub/0018-efi-Build-EFI-stub-with-EFI-appropriate-options.patch	Fri Oct 12 04:05:04 2012	(r19436)
@@ -0,0 +1,31 @@
+From: Matthew Garrett <mjg at redhat.com>
+Date: Thu, 26 Jul 2012 18:00:00 -0400
+Subject: efi: Build EFI stub with EFI-appropriate options
+
+commit 9dead5bbb825d7c25c0400e61de83075046322d0 upstream.
+
+We can't assume the presence of the red zone while we're still in a boot
+services environment, so we should build with -fno-red-zone to avoid
+problems. Change the size of wchar at the same time to make string handling
+simpler.
+
+Signed-off-by: Matthew Garrett <mjg at redhat.com>
+Signed-off-by: Matt Fleming <matt.fleming at intel.com>
+---
+ arch/x86/boot/compressed/Makefile |    3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
+index e398bb5..8a84501 100644
+--- a/arch/x86/boot/compressed/Makefile
++++ b/arch/x86/boot/compressed/Makefile
+@@ -28,6 +28,9 @@ VMLINUX_OBJS = $(obj)/vmlinux.lds $(obj)/head_$(BITS).o $(obj)/misc.o \
+ 	$(obj)/string.o $(obj)/cmdline.o $(obj)/early_serial_console.o \
+ 	$(obj)/piggy.o
+ 
++$(obj)/eboot.o: KBUILD_CFLAGS += -fshort-wchar -mno-red-zone
++$(obj)/efi_stub_$(BITS).o: KBUILD_CLFAGS += -fshort-wchar -mno-red-zone
++
+ ifeq ($(CONFIG_EFI_STUB), y)
+ 	VMLINUX_OBJS += $(obj)/eboot.o $(obj)/efi_stub_$(BITS).o
+ endif

Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series	Fri Oct 12 03:28:22 2012	(r19435)
+++ dists/sid/linux/debian/patches/series	Fri Oct 12 04:05:04 2012	(r19436)
@@ -164,6 +164,7 @@
 features/x86/efi-stub/0015-x86-efi-Fix-endian-issues-and-unaligned-accesses.patch
 features/x86/efi-stub/0016-x86-boot-Correct-CFLAGS-for-hostprogs.patch
 features/x86/efi-stub/0017-x86-efi-Add-dedicated-EFI-stub-entry-point.patch
+features/x86/efi-stub/0018-efi-Build-EFI-stub-with-EFI-appropriate-options.patch
 
 # Update wacom driver to 3.5ish
 features/all/wacom/0001-Input-wacom-cleanup-feature-report-for-bamboos.patch



More information about the Kernel-svn-changes mailing list