patch-2.4.21 linux-2.4.21/include/asm-sparc/processor.h
Next file: linux-2.4.21/include/asm-sparc/ptrace.h
Previous file: linux-2.4.21/include/asm-sparc/oplib.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-sparc/processor.h
- Orig date:
2001-10-10 23:42:47.000000000 -0700
diff -urN linux-2.4.20/include/asm-sparc/processor.h linux-2.4.21/include/asm-sparc/processor.h
@@ -140,13 +140,13 @@
"std\t%%g0, [%0 + %3 + 0x30]\n\t"
"st\t%1, [%0 + %3 + 0x38]\n\t"
"st\t%%g0, [%0 + %3 + 0x3c]"
- : : "r" (regs), "r" (sp - REGWIN_SZ), "r" (zero),
+ : : "r" (regs), "r" (sp - sizeof(struct reg_window)), "r" (zero),
"i" ((const unsigned long)(&((struct pt_regs *)0)->u_regs[0])));
}
/* Free all resources held by a thread. */
#define release_thread(tsk) do { } while(0)
-extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
+extern pid_t arch_kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
#define copy_segments(tsk, mm) do { } while (0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)