[parisc-linux] real2.S patch

LaMont Jones lamont at smallone.mmjgroup.com
Sat Mar 13 10:27:03 MST 2004


Any objections to this patch?  It removes a duplicated calculation,
and has the added advantage of surviving my woody build environment...

lamont
-------------- next part --------------
Index: arch/parisc/kernel/real2.S
===================================================================
RCS file: /var/cvs/linux-2.4/arch/parisc/kernel/real2.S,v
retrieving revision 1.8
diff -u -r1.8 real2.S
--- a/arch/parisc/kernel/real2.S	18 Sep 2003 16:09:09 -0000	1.8
+++ b/arch/parisc/kernel/real2.S	13 Mar 2004 17:25:38 -0000
@@ -32,6 +32,7 @@
 
 save_cr_space:
 	.block	REG_SZ * N_SAVED_REGS
+save_cr_end:
 
 
 /************************ 32-bit real-mode calls ***********************/
@@ -129,7 +130,7 @@
 	nop
 
 restore_control_regs:
-	load32	PA(save_cr_space+(N_SAVED_REGS*REG_SZ)), %r26
+	load32	PA(save_cr_end), %r26
 	POP_CR(%cr15, %r26)
 	POP_CR(%cr31, %r26)
 	POP_CR(%cr30, %r26)


More information about the parisc-linux mailing list