mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 06:30:54 +07:00
sh: Explicit alignment for PAGE_SIZE in copy/clear_page().
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
1efe4ce3ca
commit
325df7f204
@ -50,6 +50,8 @@ ENTRY(clear_page)
|
||||
!
|
||||
rts
|
||||
nop
|
||||
|
||||
.balign 4
|
||||
.Llimit: .long (PAGE_SIZE-28)
|
||||
|
||||
ENTRY(__clear_user)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user