Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=46b45b10f1425d02819b525e3805ddacd9ad4f29
Commit:     46b45b10f1425d02819b525e3805ddacd9ad4f29
Parent:     38b08e48355641f843c1a5eb4ee252b6db9934aa
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 9 17:03:57 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Oct 11 14:36:47 2007 +1000

    [POWERPC] Align the sys_call_table
    
    Our _GLOBAL macro does a ".align 2" so the alignment is fine for 32
    bit, but on 64 bit it is possible for it to end up only 4 byte aligned.
    I don't know if it matters, but it can't hurt to 8 byte align it.
    
    It also means that when we build with --emit_relocs, none of our 64 bit
    relocations are to misaligned places.
    
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/systbl.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/systbl.S b/arch/powerpc/kernel/systbl.S
index 579de70..93219c3 100644
--- a/arch/powerpc/kernel/systbl.S
+++ b/arch/powerpc/kernel/systbl.S
@@ -39,6 +39,8 @@
 #ifdef CONFIG_PPC64
 #define sys_sigpending sys_ni_syscall
 #define sys_old_getrlimit sys_ni_syscall
+
+       .p2align        3
 #endif
 
 _GLOBAL(sys_call_table)
-
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