Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 325df7f2 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Explicit alignment for PAGE_SIZE in copy/clear_page().



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1efe4ce3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@ ENTRY(clear_page)
	!
	rts
	 nop

	.balign 4
.Llimit:	.long	(PAGE_SIZE-28)

ENTRY(__clear_user)
+2 −1
Original line number Diff line number Diff line
@@ -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