Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (139 commits) [POWERPC] re-enable OProfile for iSeries, using timer interrupt [POWERPC] support ibm,extended-*-frequency properties [POWERPC] Extra sanity check in EEH code [POWERPC] Dont look for class-code in pci children [POWERPC] Fix mdelay badness on shared processor partitions [POWERPC] disable floating point exceptions for init [POWERPC] Unify ppc syscall tables [POWERPC] mpic: add support for serial mode interrupts [POWERPC] pseries: Print PCI slot location code on failure [POWERPC] spufs: one more fix for 64k pages [POWERPC] spufs: fail spu_create with invalid flags [POWERPC] spufs: clear class2 interrupt status before wakeup [POWERPC] spufs: fix Makefile for "make clean" [POWERPC] spufs: remove stop_code from struct spu [POWERPC] spufs: fix spu irq affinity setting [POWERPC] spufs: further abstract priv1 register access [POWERPC] spufs: split the Cell BE support into generic and platform dependant parts [POWERPC] spufs: dont try to access SPE channel 1 count [POWERPC] spufs: use kzalloc in create_spu [POWERPC] spufs: fix initial state of wbox file ... Manually resolved conflicts in: drivers/net/phy/Makefile include/asm-powerpc/spu.h
This commit is contained in:
@@ -292,8 +292,6 @@ static inline void eeh_memcpy_toio(volatile void __iomem *dest, const void *src,
|
||||
static inline u8 eeh_inb(unsigned long port)
|
||||
{
|
||||
u8 val;
|
||||
if (!_IO_IS_VALID(port))
|
||||
return ~0;
|
||||
val = in_8((u8 __iomem *)(port+pci_io_base));
|
||||
if (EEH_POSSIBLE_ERROR(val, u8))
|
||||
return eeh_check_failure((void __iomem *)(port), val);
|
||||
@@ -302,15 +300,12 @@ static inline u8 eeh_inb(unsigned long port)
|
||||
|
||||
static inline void eeh_outb(u8 val, unsigned long port)
|
||||
{
|
||||
if (_IO_IS_VALID(port))
|
||||
out_8((u8 __iomem *)(port+pci_io_base), val);
|
||||
out_8((u8 __iomem *)(port+pci_io_base), val);
|
||||
}
|
||||
|
||||
static inline u16 eeh_inw(unsigned long port)
|
||||
{
|
||||
u16 val;
|
||||
if (!_IO_IS_VALID(port))
|
||||
return ~0;
|
||||
val = in_le16((u16 __iomem *)(port+pci_io_base));
|
||||
if (EEH_POSSIBLE_ERROR(val, u16))
|
||||
return eeh_check_failure((void __iomem *)(port), val);
|
||||
@@ -319,15 +314,12 @@ static inline u16 eeh_inw(unsigned long port)
|
||||
|
||||
static inline void eeh_outw(u16 val, unsigned long port)
|
||||
{
|
||||
if (_IO_IS_VALID(port))
|
||||
out_le16((u16 __iomem *)(port+pci_io_base), val);
|
||||
out_le16((u16 __iomem *)(port+pci_io_base), val);
|
||||
}
|
||||
|
||||
static inline u32 eeh_inl(unsigned long port)
|
||||
{
|
||||
u32 val;
|
||||
if (!_IO_IS_VALID(port))
|
||||
return ~0;
|
||||
val = in_le32((u32 __iomem *)(port+pci_io_base));
|
||||
if (EEH_POSSIBLE_ERROR(val, u32))
|
||||
return eeh_check_failure((void __iomem *)(port), val);
|
||||
@@ -336,8 +328,7 @@ static inline u32 eeh_inl(unsigned long port)
|
||||
|
||||
static inline void eeh_outl(u32 val, unsigned long port)
|
||||
{
|
||||
if (_IO_IS_VALID(port))
|
||||
out_le32((u32 __iomem *)(port+pci_io_base), val);
|
||||
out_le32((u32 __iomem *)(port+pci_io_base), val);
|
||||
}
|
||||
|
||||
/* in-string eeh macros */
|
||||
|
Reference in New Issue
Block a user