Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=325df7f20467da07901c4f2b006d3457bba0adec
Commit:     325df7f20467da07901c4f2b006d3457bba0adec
Parent:     1efe4ce3ca126da77e450d5a83f7201949d76f62
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Fri Nov 30 16:34:26 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 13:18:58 2008 +0900

    sh: Explicit alignment for PAGE_SIZE in copy/clear_page().
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/lib/clear_page.S |    2 ++
 arch/sh/lib/copy_page.S  |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/sh/lib/clear_page.S b/arch/sh/lib/clear_page.S
index 36d44ef..3539123 100644
--- a/arch/sh/lib/clear_page.S
+++ b/arch/sh/lib/clear_page.S
@@ -50,6 +50,8 @@ ENTRY(clear_page)
        !
        rts
         nop
+
+       .balign 4
 .Llimit:       .long   (PAGE_SIZE-28)
 
 ENTRY(__clear_user)
diff --git a/arch/sh/lib/copy_page.S b/arch/sh/lib/copy_page.S
index b879545..e002b91 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to