summaryrefslogtreecommitdiff
path: root/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-19 12:03:12 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-19 12:03:12 +0000
commitafaf27aa826d49a96ee38307da6cbd13e7295a97 (patch)
treee15b211e3413ee42515fd26a3601e14bb30d0837 /target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
parent053c95515a9978da0f79023785e489760d12d69f (diff)
downloadmtk-20170518-afaf27aa826d49a96ee38307da6cbd13e7295a97.zip
mtk-20170518-afaf27aa826d49a96ee38307da6cbd13e7295a97.tar.gz
mtk-20170518-afaf27aa826d49a96ee38307da6cbd13e7295a97.tar.bz2
refresh kernel patches
SVN-Revision: 11209
Diffstat (limited to 'target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch')
-rw-r--r--target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch b/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
index e6aefb9..dca1cbe 100644
--- a/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
+++ b/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
@@ -1,8 +1,8 @@
Change the default alingment handling to not be silent failure
-Index: linux-2.6.21gum/arch/arm/mm/alignment.c
+Index: linux-2.6.21.7/arch/arm/mm/alignment.c
===================================================================
---- linux-2.6.21gum.orig/arch/arm/mm/alignment.c
-+++ linux-2.6.21gum/arch/arm/mm/alignment.c
+--- linux-2.6.21.7.orig/arch/arm/mm/alignment.c
++++ linux-2.6.21.7/arch/arm/mm/alignment.c
@@ -797,6 +797,8 @@ static int __init alignment_init(void)
res->write_proc = proc_alignment_write;
#endif
@@ -12,10 +12,10 @@ Index: linux-2.6.21gum/arch/arm/mm/alignment.c
hook_fault_code(1, do_alignment, SIGILL, "alignment exception");
hook_fault_code(3, do_alignment, SIGILL, "alignment exception");
-Index: linux-2.6.21gum/arch/arm/Kconfig
+Index: linux-2.6.21.7/arch/arm/Kconfig
===================================================================
---- linux-2.6.21gum.orig/arch/arm/Kconfig
-+++ linux-2.6.21gum/arch/arm/Kconfig
+--- linux-2.6.21.7.orig/arch/arm/Kconfig
++++ linux-2.6.21.7/arch/arm/Kconfig
@@ -709,6 +709,19 @@ config ALIGNMENT_TRAP
correct operation of some network protocols. With an IP-only
configuration it is safe to say N, otherwise say Y.