sparc64: extend TI_RESTART_BLOCK space by 8 bytes
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 9 Apr 2009 05:17:22 +0000 (15:17 +1000)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Apr 2009 06:09:50 +0000 (08:09 +0200)
commitd2de688891909b148efe83a6fc9520a9cd6015f0
tree8cc373270a8acb7be137c551759286a1a8ff3458
parentbab5bc9e857638880facef76e4b4c3fa807f8c73
sparc64: extend TI_RESTART_BLOCK space by 8 bytes

Impact: build fix

Today's linux-next build (sparc64 defconfig) failed like this:

  arch/sparc/kernel/built-in.o: In function `trap_init':
  (.init.text+0x4): undefined reference to `thread_info_offsets_are_bolixed_dave'

Caused by commit 52400ba946759af28442dee6265c5c0180ac7122 ("futex: add
requeue_pi functionality") (from the tip-core tree) which changed the
size of struct restart_block.

Shift TI_KUNA_REGS and TI_KUNA_INSN up by 8 bytes to make space for the
larger restart block.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: "David S. Miller" <davem@davemloft.net>
Cc: Darren Hart <dvhltc@us.ibm.com>
LKML-Reference: <20090409151722.c8eabb56.sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/sparc/include/asm/thread_info_64.h