]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[IA64] Sanitize assembler code for ia64_sal_os_state
authorKeith Owens <kaos@ocs.com.au>
Fri, 7 Apr 2006 08:08:11 +0000 (18:08 +1000)
committerTony Luck <tony.luck@intel.com>
Wed, 21 Jun 2006 21:44:26 +0000 (14:44 -0700)
commitd270acbc24f0ce451c773c214ac0e92e95396b2f
tree46fb1417fd85a4fe477afe391975bc3bc3dec1ab
parentb7bb575c3fa3694811a072109f4e9c2f4705d8f5
[IA64] Sanitize assembler code for ia64_sal_os_state

struct ia64_sal_os_state has three semi-independent sections.  The code
in mca_asm.S assumes that these three sections are contiguous, which
makes it very awkward to add new data to this structure.  Remove the
assumption that the sections are contiguous.  Define a macro to shorten
references to offsets in ia64_sal_os_state.

This patch does not change the way that the code behaves.  It just
makes it easier to update the code in future and to add fields to
ia64_sal_os_state when debugging the MCA/INIT handlers.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/asm-offsets.c
arch/ia64/kernel/entry.h
arch/ia64/kernel/mca_asm.S
include/asm-ia64/mca.h