diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 23:58:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 23:58:12 -0500 |
commit | 848b81415c42ff3dc9a4204749087b015c37ef66 (patch) | |
tree | 391da3a73aea48632248220d2d6b8d45a88f7eae /include/asm-generic/io.h | |
parent | 992956189de58cae9f2be40585bc25105cd7c5ad (diff) | |
parent | 6fd59a83b9261fa53eaf98fb5514abba504a3ea3 (diff) |
Merge branch 'akpm' (Andrew's patch-bomb)
Merge misc patches from Andrew Morton:
"Incoming:
- lots of misc stuff
- backlight tree updates
- lib/ updates
- Oleg's percpu-rwsem changes
- checkpatch
- rtc
- aoe
- more checkpoint/restart support
I still have a pile of MM stuff pending - Pekka should be merging
later today after which that is good to go. A number of other things
are twiddling thumbs awaiting maintainer merges."
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (180 commits)
scatterlist: don't BUG when we can trivially return a proper error.
docs: update documentation about /proc/<pid>/fdinfo/<fd> fanotify output
fs, fanotify: add @mflags field to fanotify output
docs: add documentation about /proc/<pid>/fdinfo/<fd> output
fs, notify: add procfs fdinfo helper
fs, exportfs: add exportfs_encode_inode_fh() helper
fs, exportfs: escape nil dereference if no s_export_op present
fs, epoll: add procfs fdinfo helper
fs, eventfd: add procfs fdinfo helper
procfs: add ability to plug in auxiliary fdinfo providers
tools/testing/selftests/kcmp/kcmp_test.c: print reason for failure in kcmp_test
breakpoint selftests: print failure status instead of cause make error
kcmp selftests: print fail status instead of cause make error
kcmp selftests: make run_tests fix
mem-hotplug selftests: print failure status instead of cause make error
cpu-hotplug selftests: print failure status instead of cause make error
mqueue selftests: print failure status instead of cause make error
vm selftests: print failure status instead of cause make error
ubifs: use prandom_bytes
mtd: nandsim: use prandom_bytes
...
Diffstat (limited to 'include/asm-generic/io.h')
-rw-r--r-- | include/asm-generic/io.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 9e0ebe051243..d1e93284d72a 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h | |||
@@ -154,7 +154,7 @@ static inline void insb(unsigned long addr, void *buffer, int count) | |||
154 | if (count) { | 154 | if (count) { |
155 | u8 *buf = buffer; | 155 | u8 *buf = buffer; |
156 | do { | 156 | do { |
157 | u8 x = inb(addr); | 157 | u8 x = __raw_readb(addr + PCI_IOBASE); |
158 | *buf++ = x; | 158 | *buf++ = x; |
159 | } while (--count); | 159 | } while (--count); |
160 | } | 160 | } |
@@ -167,7 +167,7 @@ static inline void insw(unsigned long addr, void *buffer, int count) | |||
167 | if (count) { | 167 | if (count) { |
168 | u16 *buf = buffer; | 168 | u16 *buf = buffer; |
169 | do { | 169 | do { |
170 | u16 x = inw(addr); | 170 | u16 x = __raw_readw(addr + PCI_IOBASE); |
171 | *buf++ = x; | 171 | *buf++ = x; |
172 | } while (--count); | 172 | } while (--count); |
173 | } | 173 | } |
@@ -180,7 +180,7 @@ static inline void insl(unsigned long addr, void *buffer, int count) | |||
180 | if (count) { | 180 | if (count) { |
181 | u32 *buf = buffer; | 181 | u32 *buf = buffer; |
182 | do { | 182 | do { |
183 | u32 x = inl(addr); | 183 | u32 x = __raw_readl(addr + PCI_IOBASE); |
184 | *buf++ = x; | 184 | *buf++ = x; |
185 | } while (--count); | 185 | } while (--count); |
186 | } | 186 | } |
@@ -193,7 +193,7 @@ static inline void outsb(unsigned long addr, const void *buffer, int count) | |||
193 | if (count) { | 193 | if (count) { |
194 | const u8 *buf = buffer; | 194 | const u8 *buf = buffer; |
195 | do { | 195 | do { |
196 | outb(*buf++, addr); | 196 | __raw_writeb(*buf++, addr + PCI_IOBASE); |
197 | } while (--count); | 197 | } while (--count); |
198 | } | 198 | } |
199 | } | 199 | } |
@@ -205,7 +205,7 @@ static inline void outsw(unsigned long addr, const void *buffer, int count) | |||
205 | if (count) { | 205 | if (count) { |
206 | const u16 *buf = buffer; | 206 | const u16 *buf = buffer; |
207 | do { | 207 | do { |
208 | outw(*buf++, addr); | 208 | __raw_writew(*buf++, addr + PCI_IOBASE); |
209 | } while (--count); | 209 | } while (--count); |
210 | } | 210 | } |
211 | } | 211 | } |
@@ -217,7 +217,7 @@ static inline void outsl(unsigned long addr, const void *buffer, int count) | |||
217 | if (count) { | 217 | if (count) { |
218 | const u32 *buf = buffer; | 218 | const u32 *buf = buffer; |
219 | do { | 219 | do { |
220 | outl(*buf++, addr); | 220 | __raw_writel(*buf++, addr + PCI_IOBASE); |
221 | } while (--count); | 221 | } while (--count); |
222 | } | 222 | } |
223 | } | 223 | } |