summaryrefslogtreecommitdiff
path: root/include/asm-ppc/system.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@tango.paulus.ozlabs.org>2002-02-16 20:14:24 +1100
committerPaul Mackerras <paulus@tango.paulus.ozlabs.org>2002-02-16 20:14:24 +1100
commit03aed178cf27d8b67697883ae698372b662f3841 (patch)
treeac279d66664a024b29c7b117cce6c573f50d0b69 /include/asm-ppc/system.h
parentbff60e8b905ef243391391558e62a4826e86e207 (diff)
PPC fixes for SMP; also fix the stack overflow detection, remove
various bits of cruft, and remove the third argument to switch_to.
Diffstat (limited to 'include/asm-ppc/system.h')
-rw-r--r--include/asm-ppc/system.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-ppc/system.h b/include/asm-ppc/system.h
index a99c75adf062..abd9620c9950 100644
--- a/include/asm-ppc/system.h
+++ b/include/asm-ppc/system.h
@@ -81,9 +81,7 @@ extern void note_scsi_host(struct device_node *, void *);
struct task_struct;
#define prepare_to_switch() do { } while(0)
-#define switch_to(prev,next,last) _switch_to((prev),(next),&(last))
-extern void _switch_to(struct task_struct *, struct task_struct *,
- struct task_struct **);
+extern void switch_to(struct task_struct *, struct task_struct *);
struct thread_struct;
extern struct task_struct *_switch(struct thread_struct *prev,