aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/lib/copy_page.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-30 16:34:26 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:18:58 +0900
commit325df7f20467da07901c4f2b006d3457bba0adec (patch)
tree9a0f6f218af24af250b5e1437e1d311181e66bab /arch/sh/lib/copy_page.S
parent1efe4ce3ca126da77e450d5a83f7201949d76f62 (diff)
sh: Explicit alignment for PAGE_SIZE in copy/clear_page().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib/copy_page.S')
-rw-r--r--arch/sh/lib/copy_page.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/lib/copy_page.S b/arch/sh/lib/copy_page.S
index b879545fa28..e002b91c875 100644
--- a/arch/sh/lib/copy_page.S
+++ b/arch/sh/lib/copy_page.S
@@ -68,8 +68,9 @@ ENTRY(copy_page)
rts
nop
- .align 2
+ .balign 4
.Lpsz: .long PAGE_SIZE
+
/*
* __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n);
* Return the number of bytes NOT copied