git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
arch
/
ppc
/
platforms
/
prep_pci.c
diff --git
a/arch/ppc/platforms/prep_pci.c
b/arch/ppc/platforms/prep_pci.c
index
f227137
..
58775fc
100644
(file)
--- a/
arch/ppc/platforms/prep_pci.c
+++ b/
arch/ppc/platforms/prep_pci.c
@@
-741,7
+741,7
@@
raven_init(void)
}
/* Check the first PCI device to see if it is a Raven. */
}
/* Check the first PCI device to see if it is a Raven. */
- early_read_config_dword(
0
, 0, 0, PCI_VENDOR_ID, &devid);
+ early_read_config_dword(
NULL
, 0, 0, PCI_VENDOR_ID, &devid);
switch (devid & 0xffff0000) {
case MPIC_RAVEN_ID:
switch (devid & 0xffff0000) {
case MPIC_RAVEN_ID:
@@
-757,7
+757,7
@@
raven_init(void)
/* Read the memory base register. */
/* Read the memory base register. */
- early_read_config_dword(
0
, 0, 0, PCI_BASE_ADDRESS_1, &pci_membase);
+ early_read_config_dword(
NULL
, 0, 0, PCI_BASE_ADDRESS_1, &pci_membase);
if (pci_membase == 0) {
OpenPIC_Addr = NULL;
if (pci_membase == 0) {
OpenPIC_Addr = NULL;