mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
[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>
This commit is contained in:
parent
04dfd0de4e
commit
bad7af550e
6 changed files with 0 additions and 13 deletions
|
@ -22,10 +22,6 @@
|
|||
* `next' and `prev' should be struct task_struct, but it isn't always defined
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_SMP
|
||||
#define prepare_to_switch() do { } while(0)
|
||||
#endif /* not CONFIG_SMP */
|
||||
|
||||
#define switch_to(prev, next, last) do { \
|
||||
register unsigned long arg0 __asm__ ("r0") = (unsigned long)prev; \
|
||||
register unsigned long arg1 __asm__ ("r1") = (unsigned long)next; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue