patch-2.1.43 linux/include/asm-sparc64/psrcompat.h
Next file: linux/include/asm-sparc64/pstate.h
Previous file: linux/include/asm-sparc64/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Jun 12 16:22:10 1997
- Orig file:
v2.1.42/linux/include/asm-sparc64/psrcompat.h
- Orig date:
Mon Apr 14 16:28:23 1997
diff -u --recursive --new-file v2.1.42/linux/include/asm-sparc64/psrcompat.h linux/include/asm-sparc64/psrcompat.h
@@ -1,4 +1,4 @@
-/* $Id: psrcompat.h,v 1.2 1997/04/07 18:57:17 jj Exp $ */
+/* $Id: psrcompat.h,v 1.3 1997/06/05 06:22:54 davem Exp $ */
#ifndef _SPARC64_PSRCOMPAT_H
#define _SPARC64_PSRCOMPAT_H
@@ -47,7 +47,7 @@
{
unsigned long tstate;
- tstate = (psr & PSR_ICC) << 12;
+ tstate = ((unsigned long)(psr & PSR_ICC)) << 12;
return tstate;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov