sparc64: Use the cond_syscall()s in kernel/sys_ni.c instead of home-grown copy.
[pandora-kernel.git] / arch / sparc64 / kernel / pci.c
index 5509619..9bb4b8c 100644 (file)
 
 #include "pci_impl.h"
 
-#ifndef CONFIG_PCI
-/* A "nop" PCI implementation. */
-asmlinkage int sys_pciconfig_read(unsigned long bus, unsigned long dfn,
-                                 unsigned long off, unsigned long len,
-                                 unsigned char *buf)
-{
-       return 0;
-}
-asmlinkage int sys_pciconfig_write(unsigned long bus, unsigned long dfn,
-                                  unsigned long off, unsigned long len,
-                                  unsigned char *buf)
-{
-       return 0;
-}
-#else
-
 /* List of all PCI controllers found in the system. */
 struct pci_pbm_info *pci_pbm_root = NULL;
 
@@ -1215,5 +1199,3 @@ void pci_resource_to_user(const struct pci_dev *pdev, int bar,
        *start = rp->start - offset;
        *end = rp->end - offset;
 }
-
-#endif /* !(CONFIG_PCI) */