[PATCH] Remove unused prepare_to_switch macro

Remove unused prepare_to_switch() macros.

Signed-off-by: Hirokazu Takata <[email protected]>
Cc: Mikael Starvik <[email protected]>
Cc: David Howells <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: Miles Bader <[email protected]>
Cc: Chris Zankel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Hirokazu Takata 2006-04-10 22:53:23 -07:00 • committed by Linus Torvalds
commit bad7af550e
6 changed files with 0 additions and 13 deletions

View file

@ -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; \