patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / parisc / kernel / real2.S
index 03ed8aa..899fd73 100644 (file)
@@ -26,6 +26,7 @@ real_stack:
 
 save_cr_space:
        .block  REG_SZ * N_SAVED_REGS
+save_cr_end:
 
 
 /************************ 32-bit real-mode calls ***********************/
@@ -123,7 +124,7 @@ save_control_regs:
        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)