and cacheflush.h in a few places where they are needed.
.long sys_lremovexattr
.long sys_fremovexattr /* 220 */
.long sys_futex
+ .long sys_sched_setaffinity
+ .long sys_sched_getaffinity
.rept NR_syscalls-(.-sys_call_table)/4
.long sys_ni_syscall
.endr
#include <asm/btext.h>
#include <asm/pci-bridge.h>
#include <asm/open_pic.h>
+#include <asm/cacheflush.h>
#ifdef CONFIG_FB
#include <asm/linux_logo.h>
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
+#include <asm/cacheflush.h>
#define DEBUG_SIG 0
#include <asm/residual.h>
#include <asm/time.h>
#include <asm/thread_info.h>
+#include <asm/tlbflush.h>
int smp_threads_ready;
volatile int smp_commenced;
* Print the banner, then scroll down so boot progress
* can be printed. -- Cort
*/
- if ( ppc_md.progress ) ppc_md.progress("Linux/PPC "UTS_RELEASE"\n", 0x0);
+ if (ppc_md.progress) ppc_md.progress("Linux/PPC "UTS_RELEASE"\n", 0x0);
}
void __chrp
#include <linux/unistd.h>
#include <linux/init.h>
#include <linux/spinlock.h>
+#include <linux/errno.h>
#include <asm/ptrace.h>
#include <asm/atomic.h>
#include <asm/pmac_feature.h>
#include <asm/time.h>
#include <asm/open_pic.h>
+#include <asm/cacheflush.h>
/*
* Powersurge (old powermac SMP) support.
/*
- * 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_
#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
static inline pid_t wait(int * wait_stat)
{
- return waitpid(-1,wait_stat,0);
+ return waitpid(-1, wait_stat, 0);
}
#endif /* __KERNEL_SYSCALLS__ */