]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/processor.h
FRV: Fix up parse error in linker script
[linux-2.6-omap-h63xx.git] / include / asm-sparc / processor.h
index 5a7a1a8d29ac9ccbf09ea9fc5df220c4744432cb..40b1e41fdea7037e8d361c372674dd8cb55e39de 100644 (file)
  * we can make our access_ok test faster
  */
 #define TASK_SIZE      PAGE_OFFSET
+#ifdef __KERNEL__
+#define STACK_TOP      (PAGE_OFFSET - PAGE_SIZE)
+#define STACK_TOP_MAX  STACK_TOP
+#endif /* __KERNEL__ */
 
 struct task_struct;
 
@@ -79,7 +83,7 @@ struct thread_struct {
 extern unsigned long thread_saved_pc(struct task_struct *t);
 
 /* Do necessary setup to start up a newly executed thread. */
-extern __inline__ void start_thread(struct pt_regs * regs, unsigned long pc,
+static inline void start_thread(struct pt_regs * regs, unsigned long pc,
                                    unsigned long sp)
 {
        register unsigned long zero asm("g1");