From: David S. Miller Date: Tue, 17 Jul 2007 04:33:19 +0000 (-0700) Subject: [SPARC64]: Kill explicit %gl register reference. X-Git-Tag: v2.6.23-rc1~513^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=41120551fa36614bec00d9c26180af990b8e8f47;p=linux-2.6-omap-h63xx.git [SPARC64]: Kill explicit %gl register reference. Older binutils can't handle it. Use SET_GL() instead, which is explicitly for this purpose. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/hvtramp.S b/arch/sparc64/kernel/hvtramp.S index 76a090e2c2a..a55c252e18c 100644 --- a/arch/sparc64/kernel/hvtramp.S +++ b/arch/sparc64/kernel/hvtramp.S @@ -10,6 +10,7 @@ #include #include #include +#include #include .text @@ -28,7 +29,7 @@ * First setup basic privileged cpu state. */ hv_cpu_startup: - wrpr %g0, 0, %gl + SET_GL(0) wrpr %g0, 15, %pil wrpr %g0, 0, %canrestore wrpr %g0, 0, %otherwin