Commit:     3650b0a304663d98a63c68f9020eb1ded477989e
Parent:     527da38d33f16da4c245da3a5a3858193f8a0261
Author:     Grant Likely <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 22 16:38:32 2007 -0600
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Oct 22 19:18:54 2007 -0700

    ppc: fix AT_VECTOR_SIZE on arch/ppc
    Commit 4f9a58d75bfe82ab2b8ba5b8506dfb190a267834 ("increase
    AT_VECTOR_SIZE to terminate saved_auxv properly") changes the size of
    AT_VECTOR_SIZE from hard coded '44' to a calculation based on the value
    The change works for arch/powerpc, but it breaks arch/ppc because the
    needed AT_VECTOR_SIZE_ARCH is not present in include/asm-ppc/system.h
    and a default value of 0 is used instead.  This results in
    AT_VECTOR_SIZE being too small and it causes a kernel crash on loading
    Signed-off-by: Grant Likely <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/asm-ppc/system.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h
index cc45780..51df94c 100644
--- a/include/asm-ppc/system.h
+++ b/include/asm-ppc/system.h
@@ -33,6 +33,7 @@
 #define set_mb(var, value)     do { var = value; mb(); } while (0)
+#define AT_VECTOR_SIZE_ARCH 6 /* entries in ARCH_DLINFO */
 #ifdef CONFIG_SMP
 #define smp_mb()       mb()
 #define smp_rmb()      rmb()
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

Reply via email to