Skip to contentSkip to conversation

Fix mxcc warning

PATCH Applied Tom 'spot' Callaway 3 participants 4 messages Mar 4, 2005 – Apr 25, 2005 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

~spot
---
Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260 Fedora Extras Steering Committee Member (RPM Standards and Practices) Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!

include/asm-sparc/mxcc.h renamed from include/asm-sparc/mxcc.h.BAD +2 -2
@@ -115,8 +115,8 @@ extern __inline__ unsigned long mxcc_get
 {
 	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) :
#1 lore raw
Quoted 7 lines · On Fri, 04 Mar 2005 00:25:19 -0600 "Tom 'spot' Callaway" <[email protected]>…

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.

Applied, thanks.

#2 lore raw
In reply to Tom 'spot' Callaway

I apologize for asking a silly question, but is this series of patches noted on this list being applied to the main 2.6.X kernel series or just to a separate patch set?

BTW, anytime someone believes a kernel may have a small chance of running ROSS HyperSparc SMP I'll be glad to compile and test.

Thanks

Quoted 19 lines
Quoted 7 lines · On Fri, 04 Mar 2005 00:25:19 -0600 "Tom 'spot' Callaway" <[email protected]>…

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.

Applied, thanks.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Tom 'spot' Callaway
Quoted 3 lines · On Mon, 25 Apr 2005 06:09:26 -0400 Heitzso <[email protected]> wrote:

I apologize for asking a silly question, but is this series of patches noted on this list being applied to the main 2.6.X kernel series or just to a separate patch set?

It's upstream in the main 2.6.x kernel as of this morning.