projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16afc9f
)
sh: allow alignment fault mode to be configured at kernel boot.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 23 Feb 2010 02:48:50 +0000
(11:48 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 23 Feb 2010 02:48:50 +0000
(11:48 +0900)
Follow the ARM change, which is what our alignment helpers are based on
in the first place.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/alignment.c
patch
|
blob
|
history
diff --git
a/arch/sh/mm/alignment.c
b/arch/sh/mm/alignment.c
index 2da808802a4c6e3c24bea5bd1ca405deff883b53..00fb9e3f057c972cb09a07920b468a59ac505a39 100644
(file)
--- a/
arch/sh/mm/alignment.c
+++ b/
arch/sh/mm/alignment.c
@@
-27,6
+27,8
@@
static int se_usermode = UM_WARN | UM_FIXUP;
/* 0: no warning 1: print a warning message, disabled by default */
static int se_kernmode_warn;
+core_param(alignment, se_usermode, int, 0600);
+
void inc_unaligned_byte_access(void)
{
se_half++;