Small patch, I'm not even sure it is right, but it is my best guess.
unaligned.c failed to build with an error about thread not being a member
of current.

- Ben

Index: arch/sparc64/kernel/unaligned.c
===================================================================
RCS file: /cvs/linux/linux/arch/sparc64/kernel/unaligned.c,v
retrieving revision 1.15.2.1
diff -u -r1.15.2.1 unaligned.c
--- arch/sparc64/kernel/unaligned.c     2000/03/30 02:46:46     1.15.2.1
+++ arch/sparc64/kernel/unaligned.c     2000/04/03 22:26:30
@@ -591,7 +591,7 @@
                reg[0] = 0;
                if ((insn & 0x780000) == 0x180000)
                        reg[1] = 0;
-       } else if (current->thread.flags & SPARC_FLAG_32BIT) {
+       } else if (current->tss.flags & SPARC_FLAG_32BIT) {
                put_user(0, (int *)reg);
                if ((insn & 0x780000) == 0x180000)
                        put_user(0, ((int *)reg) + 1);

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`     [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]     '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to