From: David S. Miller Date: Tue, 17 Jul 2007 04:33:19 +0000 (-0700) Subject: [SPARC64]: Kill explicit %gl register reference. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=41120551fa36614bec00d9c26180af990b8e8f47;p=linux-beck.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 76a090e2c2a8..a55c252e18cc 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