]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-imx: fix no-unaligned patch
authorEric Bénard <eric@eukrea.com>
Sun, 1 Apr 2012 13:15:05 +0000 (15:15 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 1 Apr 2012 17:40:10 +0000 (17:40 +0000)
in 551bb42 linux-imx: fix no-unaligned-access.patch
I made a typo which leads to a non working patch.
This one should be fine (tested with angstrom-bleeding)

Signed-off-by: Eric Bénard <eric@eukrea.com>
meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/no-unaligned-access.patch
meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb

index 442d2731fa5e31b104faf8b78dc9850c95631d9a..23fe71ea6134f946aadc9b2715d3bbe1549079d8 100644 (file)
@@ -23,16 +23,17 @@ index 554683d..087e0c0 100644
  # But warn user when we do so
  warn-assign = \
 diff --git a/arch/arm/Makefile b/arch/arm/Makefile
-index 767874d..cdf3529 100644
+index 767874d..89afaea 100644
 --- a/arch/arm/Makefile
 +++ b/arch/arm/Makefile
-@@ -93,6 +93,10 @@ ifeq ($(CONFIG_ARM_UNWIND),y)
+@@ -93,6 +93,11 @@ ifeq ($(CONFIG_ARM_UNWIND),y)
  CFLAGS_ABI    +=-funwind-tables
  endif
  
-+ifeq ($(CONFIG_ALIGMENT_TRAP),y)
-+CFLAGS_ABI    +=$(call cc-option,-mno-unaligned-access,)
++ifeq ($(CONFIG_ALIGNMENT_TRAP),y)
++CFLAGS_ABI    +=$(call cc-option,-mno-unaligned-access,)
 +endif
++KBUILD_CFLAGS += $(call cc-option,-fno-conserve-stack,)
 +
  ifeq ($(CONFIG_THUMB2_KERNEL),y)
  AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it)
index 96daddb993f210f7ac1e49371f56054a91c11c85..00c3a8f821a1aa7878b996e6a70d046b442776b9 100644 (file)
@@ -4,7 +4,7 @@
 DESCRIPTION = "Linux kernel for imx platforms"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
-PR = "r15"
+PR = "r16"
 
 inherit kernel
 COMPATIBLE_MACHINE = "(imx53qsb|imx53ard|imx51evk)"