projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c13b5
)
[SPARC64]: Kill explicit %gl register reference.
author
David S. Miller
<
[email protected]
>
Tue, 17 Jul 2007 04:33:19 +0000
(21:33 -0700)
committer
David S. Miller
<
[email protected]
>
Tue, 17 Jul 2007 19:18:15 +0000
(12:18 -0700)
Older binutils can't handle it. Use SET_GL() instead,
which is explicitly for this purpose.
Signed-off-by: David S. Miller <
[email protected]
>
arch/sparc64/kernel/hvtramp.S
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/hvtramp.S
b/arch/sparc64/kernel/hvtramp.S
index 76a090e2c2a83ba901183fcb8f9f9e4adea3741c..a55c252e18ccd6df64a2d0bc144ffe25cc36a99a 100644
(file)
--- a/
arch/sparc64/kernel/hvtramp.S
+++ b/
arch/sparc64/kernel/hvtramp.S
@@
-10,6
+10,7
@@
#include <asm/hvtramp.h>
#include <asm/pstate.h>
#include <asm/ptrace.h>
+#include <asm/head.h>
#include <asm/asi.h>
.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