From: David Gibson Date: Thu, 22 Mar 2007 06:02:21 +0000 (+1100) Subject: [POWERPC] New reg.h for the zImage X-Git-Tag: v2.6.22-rc1~1109^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a2072bd48eb4a35c57a8ec45897ac2db3a3f82;p=pandora-kernel.git [POWERPC] New reg.h for the zImage This patch adds a reg.h to the zImage code, with common definitions for accessing system registers. For now, this includes functions for retrieving the PVR and the stack pointer. This patch then uses the new reg.h to let start() display the running stack address without having to explicitly pass the stack as a parameter from the asm code. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed