On Wed, Oct 24, 2012 at 8:08 PM, <gre...@linuxfoundation.org> wrote: > > This is a note to let you know that I've just added the patch titled > > efi: Build EFI stub with EFI-appropriate options > > to the 3.6-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: > efi-build-efi-stub-with-efi-appropriate-options.patch > and it can be found in the queue-3.6 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let <stable@vger.kernel.org> know about it. > > > From 9dead5bbb825d7c25c0400e61de83075046322d0 Mon Sep 17 00:00:00 2001 > From: Matthew Garrett <m...@redhat.com> > Date: Thu, 26 Jul 2012 18:00:00 -0400 > Subject: efi: Build EFI stub with EFI-appropriate options > > From: Matthew Garrett <m...@redhat.com> > > 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 <m...@redhat.com> > Signed-off-by: Matt Fleming <matt.flem...@intel.com> > Cc: Daniel Vacek <neel...@gmail.com> > Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> > > --- > arch/x86/boot/compressed/Makefile | 3 +++ > 1 file changed, 3 insertions(+) > > --- a/arch/x86/boot/compressed/Makefile > +++ b/arch/x86/boot/compressed/Makefile > @@ -31,6 +31,9 @@ VMLINUX_OBJS = $(obj)/vmlinux.lds $(obj) > $(obj)/eboot.o: KBUILD_CFLAGS += -fshort-wchar -mno-red-zone > $(obj)/efi_stub_$(BITS).o: KBUILD_CLFAGS += -fshort-wchar -mno-red-zone > > +$(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
Sorry, but the patch seems totally garbled. I've sent right fix a week ago: https://lkml.org/lkml/2012/10/18/510 >From 53864fe932aa87be62f1c70944c386cff9bb9130 Mon Sep 17 00:00:00 2001 From: Daniel Vacek <neel...@gmail.com> Date: Thu, 18 Oct 2012 22:06:26 +0200 Subject: [PATCH] efi: fix typo in Makefile --- arch/x86/boot/compressed/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index 8a84501..059a17f 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -29,7 +29,7 @@ VMLINUX_OBJS = $(obj)/vmlinux.lds $(obj)/head_$(BITS).o $(obj)/misc.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 +$(obj)/efi_stub_$(BITS).o: KBUILD_CFLAGS += -fshort-wchar -mno-red-zone ifeq ($(CONFIG_EFI_STUB), y) VMLINUX_OBJS += $(obj)/eboot.o $(obj)/efi_stub_$(BITS).o -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html