Disintegrate asm/system.h for PA-RISC
Disintegrate asm/system.h for PA-RISC. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-parisc@vger.kernel.org
This commit is contained in:
12
arch/parisc/include/asm/switch_to.h
Normal file
12
arch/parisc/include/asm/switch_to.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef __PARISC_SWITCH_TO_H
|
||||
#define __PARISC_SWITCH_TO_H
|
||||
|
||||
struct task_struct;
|
||||
|
||||
extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *);
|
||||
|
||||
#define switch_to(prev, next, last) do { \
|
||||
(last) = _switch_to(prev, next); \
|
||||
} while(0)
|
||||
|
||||
#endif /* __PARISC_SWITCH_TO_H */
|
Reference in New Issue
Block a user