diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-09-10 05:32:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 05:32:52 -0400 |
commit | e92b4fdacc6a7d8cc7895b81347671d5fcd6c5e1 (patch) | |
tree | 4f84567261682d8ec2ad4102bce1ff970a6eed1a /arch/ia64/include | |
parent | 9fcaff0e660d886e9a766460adbe558dd25de31b (diff) | |
parent | adee14b2e1557d0a8559f29681732d05a89dfc35 (diff) |
Merge commit 'v2.6.27-rc6' into x86/iommu
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/io.h | 10 | ||||
-rw-r--r-- | arch/ia64/include/asm/sections.h | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h index 260a85ac9d6a..7f257507cd86 100644 --- a/arch/ia64/include/asm/io.h +++ b/arch/ia64/include/asm/io.h | |||
@@ -19,6 +19,8 @@ | |||
19 | * Copyright (C) 1999 Don Dugger <don.dugger@intel.com> | 19 | * Copyright (C) 1999 Don Dugger <don.dugger@intel.com> |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <asm/unaligned.h> | ||
23 | |||
22 | /* We don't use IO slowdowns on the ia64, but.. */ | 24 | /* We don't use IO slowdowns on the ia64, but.. */ |
23 | #define __SLOW_DOWN_IO do { } while (0) | 25 | #define __SLOW_DOWN_IO do { } while (0) |
24 | #define SLOW_DOWN_IO do { } while (0) | 26 | #define SLOW_DOWN_IO do { } while (0) |
@@ -241,7 +243,7 @@ __insw (unsigned long port, void *dst, unsigned long count) | |||
241 | unsigned short *dp = dst; | 243 | unsigned short *dp = dst; |
242 | 244 | ||
243 | while (count--) | 245 | while (count--) |
244 | *dp++ = platform_inw(port); | 246 | put_unaligned(platform_inw(port), dp++); |
245 | } | 247 | } |
246 | 248 | ||
247 | static inline void | 249 | static inline void |
@@ -250,7 +252,7 @@ __insl (unsigned long port, void *dst, unsigned long count) | |||
250 | unsigned int *dp = dst; | 252 | unsigned int *dp = dst; |
251 | 253 | ||
252 | while (count--) | 254 | while (count--) |
253 | *dp++ = platform_inl(port); | 255 | put_unaligned(platform_inl(port), dp++); |
254 | } | 256 | } |
255 | 257 | ||
256 | static inline void | 258 | static inline void |
@@ -268,7 +270,7 @@ __outsw (unsigned long port, const void *src, unsigned long count) | |||
268 | const unsigned short *sp = src; | 270 | const unsigned short *sp = src; |
269 | 271 | ||
270 | while (count--) | 272 | while (count--) |
271 | platform_outw(*sp++, port); | 273 | platform_outw(get_unaligned(sp++), port); |
272 | } | 274 | } |
273 | 275 | ||
274 | static inline void | 276 | static inline void |
@@ -277,7 +279,7 @@ __outsl (unsigned long port, const void *src, unsigned long count) | |||
277 | const unsigned int *sp = src; | 279 | const unsigned int *sp = src; |
278 | 280 | ||
279 | while (count--) | 281 | while (count--) |
280 | platform_outl(*sp++, port); | 282 | platform_outl(get_unaligned(sp++), port); |
281 | } | 283 | } |
282 | 284 | ||
283 | /* | 285 | /* |
diff --git a/arch/ia64/include/asm/sections.h b/arch/ia64/include/asm/sections.h index 7286e4a9fe84..a7acad2bc2f0 100644 --- a/arch/ia64/include/asm/sections.h +++ b/arch/ia64/include/asm/sections.h | |||
@@ -21,5 +21,8 @@ extern char __start_gate_brl_fsys_bubble_down_patchlist[], __end_gate_brl_fsys_b | |||
21 | extern char __start_unwind[], __end_unwind[]; | 21 | extern char __start_unwind[], __end_unwind[]; |
22 | extern char __start_ivt_text[], __end_ivt_text[]; | 22 | extern char __start_ivt_text[], __end_ivt_text[]; |
23 | 23 | ||
24 | #undef dereference_function_descriptor | ||
25 | void *dereference_function_descriptor(void *); | ||
26 | |||
24 | #endif /* _ASM_IA64_SECTIONS_H */ | 27 | #endif /* _ASM_IA64_SECTIONS_H */ |
25 | 28 | ||