patch-2.1.34 linux/include/asm-sparc64/psrcompat.h

Next file: linux/include/asm-sparc64/pstate.h
Previous file: linux/include/asm-sparc64/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/include/asm-sparc64/psrcompat.h linux/include/asm-sparc64/psrcompat.h
@@ -1,4 +1,4 @@
-/* $Id: psrcompat.h,v 1.1 1996/12/26 10:02:30 davem Exp $ */
+/* $Id: psrcompat.h,v 1.2 1997/04/07 18:57:17 jj Exp $ */
 #ifndef _SPARC64_PSRCOMPAT_H
 #define _SPARC64_PSRCOMPAT_H
 
@@ -36,7 +36,7 @@
 	psr |= ((tstate & TSTATE_ICC) >> 12);
 
 	/* This is completely arbitrary. */
-	__asm__ __volatile__("rdpr	%vers, %0" : "=r" (vers));
+	__asm__ __volatile__("rdpr	%%ver, %0" : "=r" (vers));
 	psr |= ((vers << 8) >> 32) & PSR_IMPL;
 	psr |= ((vers << 24) >> 36) & PSR_VERS;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov