Commit a49ba2e0 authored by Pete Zaitcev's avatar Pete Zaitcev Committed by David S. Miller

[SPARC]: hch's cond_syscall() for PCI syscalls, Alpha/PPC/etc. can use this too.

parent 7dc88cfa
......@@ -12,8 +12,9 @@ obj-y := entry.o wof.o wuf.o etrap.o rtrap.o traps.o $(IRQ_OBJS) \
sys_sparc.o sunos_asm.o systbls.o \
time.o windows.o cpu.o devices.o sclow.o \
tadpole.o tick14.o ptrace.o sys_solaris.o \
unaligned.o muldiv.o pcic.o semaphore.o sparc_ksyms.o
unaligned.o muldiv.o semaphore.o sparc_ksyms.o
obj-$(CONFIG_PCI) += pcic.o
obj-$(CONFIG_SUN4) += sun4setup.o
obj-$(CONFIG_SMP) += trampoline.o smp.o sun4m_smp.o sun4d_smp.o
obj-$(CONFIG_SUN_AUXIO) += auxio.o
......
......@@ -35,27 +35,6 @@
#include <asm/timer.h>
#include <asm/uaccess.h>
#ifndef CONFIG_PCI
asmlinkage int sys_pciconfig_read(unsigned long bus,
unsigned long dfn,
unsigned long off,
unsigned long len,
unsigned char *buf)
{
return -EINVAL;
}
asmlinkage int sys_pciconfig_write(unsigned long bus,
unsigned long dfn,
unsigned long off,
unsigned long len,
unsigned char *buf)
{
return -EINVAL;
}
#else
struct pci_fixup pcibios_fixups[] = {
{ 0 }
......@@ -1044,5 +1023,3 @@ void insl(unsigned long addr, void *dst, unsigned long count) {
}
subsys_initcall(pcic_init);
#endif
......@@ -233,6 +233,8 @@ cond_syscall(compat_sys_futex)
cond_syscall(sys_epoll_create)
cond_syscall(sys_epoll_ctl)
cond_syscall(sys_epoll_wait)
cond_syscall(sys_pciconfig_read)
cond_syscall(sys_pciconfig_write)
static int set_one_prio(struct task_struct *p, int niceval, int error)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment