diff options
author | Tom 'spot' Callaway <tcallawa@redhat.com> | 2005-04-24 20:46:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-24 20:46:00 -0700 |
commit | 205a7edad99d68d57dfcbf9bdda1a6fb7c33169e (patch) | |
tree | 168822672277e2bc077a907a9c2b7846bd5870c5 /include | |
parent | 962bd5604bf8a4d31d9204e7daf260ea93084bc0 (diff) | |
download | op-kernel-dev-205a7edad99d68d57dfcbf9bdda1a6fb7c33169e.zip op-kernel-dev-205a7edad99d68d57dfcbf9bdda1a6fb7c33169e.tar.gz |
[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: Tom 'spot' Callaway <tcallawa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc/mxcc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sparc/mxcc.h b/include/asm-sparc/mxcc.h index efe4e84..60ef9d6 100644 --- a/include/asm-sparc/mxcc.h +++ b/include/asm-sparc/mxcc.h @@ -115,8 +115,8 @@ extern __inline__ unsigned long mxcc_get_creg(void) { unsigned long mxcc_control; - __asm__ __volatile__("set -1, %%g2\n\t" - "set -1, %%g3\n\t" + __asm__ __volatile__("set 0xffffffff, %%g2\n\t" + "set 0xffffffff, %%g3\n\t" "stda %%g2, [%1] %2\n\t" "lda [%3] %2, %0\n\t" : "=r" (mxcc_control) : |