aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/hawk.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-10-22 18:38:32 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-22 22:18:54 -0400
commit3650b0a304663d98a63c68f9020eb1ded477989e (patch)
tree37786f6852c3f59df71dddc109915c05cd4ef003 /include/asm-ppc/hawk.h
parent527da38d33f16da4c245da3a5a3858193f8a0261 (diff)
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 of AT_VECTOR_SIZE_ARCH and AT_VECTOR_SIZE_BASE. 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 init. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-ppc/hawk.h')
0 files changed, 0 insertions, 0 deletions