sh: Fix page size alignment in __copy_user_page().
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>
This commit is contained in:
@@ -129,6 +129,7 @@ ENTRY(__copy_user_page)
|
|||||||
rts
|
rts
|
||||||
nop
|
nop
|
||||||
#endif
|
#endif
|
||||||
|
.align 2
|
||||||
.Lpsz: .long PAGE_SIZE
|
.Lpsz: .long PAGE_SIZE
|
||||||
/*
|
/*
|
||||||
* __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n);
|
* __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n);
|
||||||
|
Reference in New Issue
Block a user