summaryrefslogtreecommitdiffstats
path: root/include/asm-cris
diff options
context:
space:
mode:
authorHirokazu Takata <takata@linux-m32r.org>2006-04-11 07:53:23 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 15:18:34 +0200
commitbad7af550e90ab82e74024357438d77b561e1b5f (patch)
tree4ba9ee182455c3329e231b96eaa366ad95aace6b /include/asm-cris
parent[PATCH] m32r: security fix of {get,put}_user macros (diff)
downloadlinux-bad7af550e90ab82e74024357438d77b561e1b5f.tar.xz
linux-bad7af550e90ab82e74024357438d77b561e1b5f.zip
[PATCH] Remove unused prepare_to_switch macro
Remove unused prepare_to_switch() macros. Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Cc: Mikael Starvik <starvik@axis.com> Cc: David Howells <dhowells@redhat.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-cris')
-rw-r--r--include/asm-cris/system.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-cris/system.h b/include/asm-cris/system.h
index 1d63c2aa8ec2..b1c593b6dbff 100644
--- a/include/asm-cris/system.h
+++ b/include/asm-cris/system.h
@@ -8,7 +8,6 @@
*/
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)