Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0d08b5fb37835988952d190b4540a71d60a4d198
Commit:     0d08b5fb37835988952d190b4540a71d60a4d198
Parent:     27641dee99e0d0c25f224cdfbd11486bd2f131ee
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Mon May 14 10:49:40 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon May 21 14:33:13 2007 +0900

    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 <[EMAIL PROTECTED]>
---
 arch/sh/mm/copy_page.S |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sh/mm/copy_page.S b/arch/sh/mm/copy_page.S
index 397c94c..ae039f2 100644
--- a/arch/sh/mm/copy_page.S
+++ b/arch/sh/mm/copy_page.S
@@ -129,6 +129,7 @@ ENTRY(__copy_user_page)
        rts
         nop
 #endif
+       .align 2
 .Lpsz: .long   PAGE_SIZE
 /*
  * __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n);
-
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