projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5adcaf5
)
[POWERPC] iseries: eliminate a couple of warnings
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 14 Sep 2006 04:55:36 +0000
(14:55 +1000)
committer
Stephen Rothwell
<sfr@canb.auug.org.au>
Wed, 20 Sep 2006 04:12:22 +0000
(14:12 +1000)
Copy and paste bug in io.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
include/asm-powerpc/io.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-powerpc/io.h
b/include/asm-powerpc/io.h
index 57e7d14d65633ceaf5c60e15ca342524d05e4037..174fb89d5edaf44f897adc440100ead768c23c47 100644
(file)
--- a/
include/asm-powerpc/io.h
+++ b/
include/asm-powerpc/io.h
@@
-68,8
+68,8
@@
extern unsigned long pci_io_base;
* for older code.
*/
#define insb(port, buf, ns) _insb((u8 __iomem *)((port)+pci_io_base), (buf), (ns))
-#define insw(port, buf, ns) _insw_ns((u
8
__iomem *)((port)+pci_io_base), (buf), (ns))
-#define insl(port, buf, nl) _insl_ns((u
8
__iomem *)((port)+pci_io_base), (buf), (nl))
+#define insw(port, buf, ns) _insw_ns((u
16
__iomem *)((port)+pci_io_base), (buf), (ns))
+#define insl(port, buf, nl) _insl_ns((u
32
__iomem *)((port)+pci_io_base), (buf), (nl))
#else