Skip to contentSkip to conversation

tr0/tr1 defines in asmregs.h

parisc-linux Grant Grundler 1 participant 1 message Oct 13, 2000

lore
Share & tools
lore
#0 lore raw

Hi all,
cr24 and cr25 are not "tempory" registers for parisc-linux. IMHO, No one should be referencing "tr0/tr1" names in any assembler code.

Comments?
Should this patch be committed to the CVS tree?

thanks
grant

grundler <526>cvs diff include/asm-parisc/asmregs.h
Index: include/asm-parisc/asmregs.h
===================================================================
RCS file: /home/cvs/parisc/linux/include/asm-parisc/asmregs.h,v retrieving revision 1.4

10/13 20:07:16 renamed from 06/28 23:38:09 1.4 +4 -2
diff -u -p -r1.4 asmregs.h
@@ -144,8 +144,10 @@ isr:       .reg    %cr20
 ior:   .reg    %cr21
 ipsw:  .reg    %cr22
 eirr:  .reg    %cr23
-tr0:   .reg    %cr24
-tr1:   .reg    %cr25
+#if 0
+tr0:   .reg    %cr24   /* pointer to kernel address space page directory */
+tr1:   .reg    %cr25   /* pointer to the current user address space pdir */
+#endif
 tr2:   .reg    %cr26
 tr3:   .reg    %cr27
 tr4:   .reg    %cr28