mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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:
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…
Reference in a new issue