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
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
ppc
/
syslib
/
qspan_pci.c
diff --git
a/arch/ppc/syslib/qspan_pci.c
b/arch/ppc/syslib/qspan_pci.c
index
57f4ed5
..
85053b2
100644
(file)
--- a/
arch/ppc/syslib/qspan_pci.c
+++ b/
arch/ppc/syslib/qspan_pci.c
@@
-15,7
+15,6
@@
* we have switched the chip select.
*/
* we have switched the chip select.
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/delay.h>
@@
-94,7
+93,7
@@
#define mk_config_type1(bus, dev, offset) \
mk_config_addr(bus, dev, offset) | 1;
#define mk_config_type1(bus, dev, offset) \
mk_config_addr(bus, dev, offset) | 1;
-static
spinlock_t pcibios_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(pcibios_lock)
;
int qspan_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn,
unsigned char offset, unsigned char *val)
int qspan_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn,
unsigned char offset, unsigned char *val)