summaryrefslogtreecommitdiff
path: root/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-08 19:36:13 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-08 19:36:13 +0000
commitba2e2fa7be06ce440e61837274aef416d1fc8672 (patch)
tree8bd433668a52a0fa53fee5ecb08a9913ac33aa09 /target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch
parentb27747291f8ab78a69e16cbbf172443f940127c7 (diff)
[pxa] refresh 2.6.21 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14454 3c298f89-4303-0410-b956-a3cf2f4a3e73
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, 4 insertions, 8 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 dca1cbed0d..980d5a6f9e 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,6 @@
Change the default alingment handling to not be silent failure
-Index: linux-2.6.21.7/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
+--- a/arch/arm/mm/alignment.c
++++ b/arch/arm/mm/alignment.c
@@ -797,6 +797,8 @@ static int __init alignment_init(void)
res->write_proc = proc_alignment_write;
#endif
@@ -12,10 +10,8 @@ Index: linux-2.6.21.7/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.21.7/arch/arm/Kconfig
-===================================================================
---- linux-2.6.21.7.orig/arch/arm/Kconfig
-+++ linux-2.6.21.7/arch/arm/Kconfig
+--- a/arch/arm/Kconfig
++++ b/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.