Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112991
b: refs/heads/master
c: 783c98b
h: refs/heads/master
i:
  112989: eb6b8d8
  112987: cac466e
  112983: 07d9e40
  112975: 56a81e9
  112959: 77f0a3c
v: v3
  • Loading branch information
David S. Miller committed Aug 25, 2008
1 parent 58ef5cf commit 542a3f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85269eb5542b425b99d79dc4c312dce0157eac7e
refs/heads/master: 783c98b911fce8d47aa2906468ca39d44d46d7ce
4 changes: 2 additions & 2 deletions trunk/arch/sparc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ extra-y := head.o init_task.o vmlinux.lds
obj-y := process.o setup.o cpu.o idprom.o \
traps.o auxio.o una_asm.o sysfs.o iommu.o \
irq.o ptrace.o time.o sys_sparc.o signal.o \
unaligned.o central.o pci.o starfire.o \
unaligned.o central.o starfire.o \
power.o sbus.o sparc64_ksyms.o \
visemul.o prom.o of_device.o hvapi.o sstate.o mdesc.o

obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-$(CONFIG_PCI) += ebus.o pci_common.o \
obj-$(CONFIG_PCI) += ebus.o pci.o pci_common.o \
pci_psycho.o pci_sabre.o pci_schizo.o \
pci_sun4v.o pci_sun4v_asm.o pci_fire.o
obj-$(CONFIG_PCI_MSI) += pci_msi.o
Expand Down
18 changes: 0 additions & 18 deletions trunk/arch/sparc64/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,6 @@

#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;

Expand Down Expand Up @@ -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) */

0 comments on commit 542a3f9

Please sign in to comment.