projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27641de
)
sh: Fix page size alignment in __copy_user_page().
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 14 May 2007 01:49:40 +0000
(10:49 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 21 May 2007 05:33:13 +0000
(14:33 +0900)
SH-3 comes up with the PAGE_SIZE on a misaligned boundary:
arch/sh/mm/copy_page.S: Assembler messages:
arch/sh/mm/copy_page.S:132: Warning: misaligned data
fix it up with explicit alignment.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/copy_page.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/mm/copy_page.S
b/arch/sh/mm/copy_page.S
index 397c94c97315d9909e8788feadd3767b2b7b8584..ae039f2da16271c75e3013b97fa8a523a3b97621 100644
(file)
--- a/
arch/sh/mm/copy_page.S
+++ b/
arch/sh/mm/copy_page.S
@@
-129,6
+129,7
@@
ENTRY(__copy_user_page)
rts
nop
#endif
+ .align 2
.Lpsz: .long PAGE_SIZE
/*
* __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n);