Commit 205a7eda authored by Tom 'spot' Callaway's avatar Tom 'spot' Callaway Committed by David S. Miller

[SPARC]: Fix mxcc warning

Peter Jones uncovered this one while we were debugging the framebuffer
issues. There are some references to -1 in the mxcc asm code, which
should be 0xffffffff.

This patch gets rid of the -1s.
Signed-off-by: default avatarTom 'spot' Callaway <tcallawa@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 962bd560
...@@ -115,8 +115,8 @@ extern __inline__ unsigned long mxcc_get_creg(void) ...@@ -115,8 +115,8 @@ extern __inline__ unsigned long mxcc_get_creg(void)
{ {
unsigned long mxcc_control; unsigned long mxcc_control;
__asm__ __volatile__("set -1, %%g2\n\t" __asm__ __volatile__("set 0xffffffff, %%g2\n\t"
"set -1, %%g3\n\t" "set 0xffffffff, %%g3\n\t"
"stda %%g2, [%1] %2\n\t" "stda %%g2, [%1] %2\n\t"
"lda [%3] %2, %0\n\t" : "lda [%3] %2, %0\n\t" :
"=r" (mxcc_control) : "=r" (mxcc_control) :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment