diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-09 00:11:50 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-09 00:11:50 +0000 |
commit | d4db749fd7871921ff4a6aeb6e9631c641851998 (patch) | |
tree | a1637f5df5b2c6175a4c8b17f73d0f7808361fa7 /target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch | |
parent | ed2d03fdee38a559d628e947cb23ef46a04f16f8 (diff) |
[pxa]: upgrade to 2.6.32.7, switch to squashfs, remove broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19562 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.patch | 34 |
1 files changed, 0 insertions, 34 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 deleted file mode 100644 index 980d5a6f9..000000000 --- a/target/linux/pxa/patches-2.6.21/032-misalignment-handling.patch +++ /dev/null @@ -1,34 +0,0 @@ -Change the default alingment handling to not be silent failure ---- 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 - -+ ai_usermode = CONFIG_ALIGNMENT_HANDLING; -+ - hook_fault_code(1, do_alignment, SIGILL, "alignment exception"); - hook_fault_code(3, do_alignment, SIGILL, "alignment exception"); - ---- 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. - -+config ALIGNMENT_HANDLING -+ hex "Userspace alignment trap handling" -+ default "0x3" -+ depends on ALIGNMENT_TRAP -+ help -+ How should we handle alignment errors in userspace by default? This is a bitfield where: -+ 0 - silently ignore alignment errors (will lead to unexpected results) -+ 1 - report alignment errors through printk (will lead to unexpected results, but you'll know about them) -+ 2 - fix the alignment and make things work properly (performance degradation for un-aligned code) -+ 4 - raise SIGBUS on alignment traps -+ A good number to choose is probably either 3 (work slowly but log message) or 5 (log message and SIGBUS). -+ You can change the behavior at runtime through /proc/cpu/alignment if you have PROC_FS enabled. -+ - endmenu - - menu "Boot options" |