diff options
| author | Paul Mackerras <paulus@nanango.paulus.ozlabs.org> | 2002-04-11 18:06:07 +1000 |
|---|---|---|
| committer | Paul Mackerras <paulus@nanango.paulus.ozlabs.org> | 2002-04-11 18:06:07 +1000 |
| commit | 0c4a2e9ca79417da7d8f22f7861d8e249e0cfe41 (patch) | |
| tree | e260c25536dd0de88ead349c5d6bc4f54d9920ff /include | |
| parent | c7ad40cc2b77557310ceb5a2a7bc000713a80950 (diff) | |
Minor PPC changes - add sched_get/setaffinity, include tlbflush.h
and cacheflush.h in a few places where they are needed.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc/unistd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ppc/unistd.h b/include/asm-ppc/unistd.h index 711d70ce3285..714890b8cdd2 100644 --- a/include/asm-ppc/unistd.h +++ b/include/asm-ppc/unistd.h @@ -1,5 +1,5 @@ /* - * BK Id: SCCS/s.unistd.h 1.11 10/18/01 17:29:53 trini + * BK Id: %F% %I% %G% %U% %#% */ #ifndef _ASM_PPC_UNISTD_H_ #define _ASM_PPC_UNISTD_H_ @@ -229,6 +229,8 @@ #define __NR_lremovexattr 219 #define __NR_fremovexattr 220 #define __NR_futex 221 +#define __NR_sched_setaffinity 222 +#define __NR_sched_getaffinity 223 #define __NR(n) #n @@ -432,7 +434,7 @@ static inline _syscall1(int,delete_module,const char *,name) static inline pid_t wait(int * wait_stat) { - return waitpid(-1,wait_stat,0); + return waitpid(-1, wait_stat, 0); } #endif /* __KERNEL_SYSCALLS__ */ |
