ppc: Fix stack setup
commitaf5c695cfc488aad8f8314305b05ddd898636eca
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 16 Oct 2010 17:36:15 +0000 (16 17:36 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 16 Oct 2010 17:36:15 +0000 (16 17:36 +0000)
tree32d3126ab427f2bd2c8b71d3dc08acd69c37b649
parentb844b3b3150555ff336b02aa2611e2424910bc03
ppc: Fix stack setup

The exception stack was always set up 64 KiB below the ROM,
ignoring hash table alignment.
Align the stack pointer appropriately.

v2:
* Drop buggy distinction based on PVR value since the previous patch
  unifies alignment. Suggested by Segher Boessenkool.

Cc: Alexander Graf <agraf@suse.de>
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@907 f158a5a8-5612-0410-a976-696ce0be7e32
arch/ppc/qemu/start.S