X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c886d2690dae0258d64fef02d8a24c901f7c2d6b..e5eeda3737a657537dfc000d9677d9eac8d70136:/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch 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 e6aefb997..980d5a6f9 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.21gum/arch/arm/mm/alignment.c -=================================================================== ---- linux-2.6.21gum.orig/arch/arm/mm/alignment.c -+++ linux-2.6.21gum/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.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 -=================================================================== ---- linux-2.6.21gum.orig/arch/arm/Kconfig -+++ linux-2.6.21gum/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.