]> err.no Git - linux-2.6/commit
powerpc: Use an alternative feature section in entry_64.S
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 24 Jun 2008 01:33:05 +0000 (11:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:31 +0000 (11:28 +1000)
commitc230328def963373ec474056f372e1918692c3c8
treeea582324a2026e6a00daa38cfd52eaacea43c938
parent362e7701fd183d990e0863883461edef61392710
powerpc: Use an alternative feature section in entry_64.S

Use an alternative feature section in _switch. There are three cases
handled here, either we don't have an SLB, in which case we jump over the
entire code section, or if we do we either do or don't have 1TB segments.

Boot tested on Power3, Power5 and Power5+.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/entry_64.S