X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-cris%2Fsystem.h;h=d48670107a85ffe05c0e1257a94678f6f3389e6f;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=b1c593b6dbff163df5118bc6ba8c5841148fd43a;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/asm-cris/system.h b/include/asm-cris/system.h index b1c593b6d..d48670107 100644 --- a/include/asm-cris/system.h +++ b/include/asm-cris/system.h @@ -8,6 +8,7 @@ */ extern struct task_struct *resume(struct task_struct *prev, struct task_struct *next, int); +#define prepare_to_switch() do { } while(0) #define switch_to(prev,next,last) last = resume(prev,next, \ (int)&((struct task_struct *)0)->thread) @@ -70,6 +71,4 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz #define arch_align_stack(x) (x) -void default_idle(void); - #endif