diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-12-03 07:49:39 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-03 07:49:39 -0500 |
commit | 220d0b1dbf78c6417a658c96e571415552d3abac (patch) | |
tree | 70cd3862540c38ea490e7a27c3c7acc35b680234 /arch/arm/include | |
parent | 474b18ccc264c472abeec50f48469b6477202699 (diff) | |
parent | 22763c5cf3690a681551162c15d34d935308c8d7 (diff) |
Merge branch 'master' into for-2.6.33
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/cacheflush.h | 5 | ||||
-rw-r--r-- | arch/arm/include/asm/kmap_types.h | 6 | ||||
-rw-r--r-- | arch/arm/include/asm/unistd.h | 9 |
3 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index 247b7b0adc2a..e8d45832cfbe 100644 --- a/arch/arm/include/asm/cacheflush.h +++ b/arch/arm/include/asm/cacheflush.h | |||
@@ -415,9 +415,14 @@ extern void __flush_dcache_page(struct address_space *mapping, struct page *page | |||
415 | 415 | ||
416 | static inline void __flush_icache_all(void) | 416 | static inline void __flush_icache_all(void) |
417 | { | 417 | { |
418 | #ifdef CONFIG_ARM_ERRATA_411920 | ||
419 | extern void v6_icache_inval_all(void); | ||
420 | v6_icache_inval_all(); | ||
421 | #else | ||
418 | asm("mcr p15, 0, %0, c7, c5, 0 @ invalidate I-cache\n" | 422 | asm("mcr p15, 0, %0, c7, c5, 0 @ invalidate I-cache\n" |
419 | : | 423 | : |
420 | : "r" (0)); | 424 | : "r" (0)); |
425 | #endif | ||
421 | } | 426 | } |
422 | 427 | ||
423 | #define ARCH_HAS_FLUSH_ANON_PAGE | 428 | #define ARCH_HAS_FLUSH_ANON_PAGE |
diff --git a/arch/arm/include/asm/kmap_types.h b/arch/arm/include/asm/kmap_types.h index d16ec97ec9a9..c019949a5189 100644 --- a/arch/arm/include/asm/kmap_types.h +++ b/arch/arm/include/asm/kmap_types.h | |||
@@ -22,4 +22,10 @@ enum km_type { | |||
22 | KM_TYPE_NR | 22 | KM_TYPE_NR |
23 | }; | 23 | }; |
24 | 24 | ||
25 | #ifdef CONFIG_DEBUG_HIGHMEM | ||
26 | #define KM_NMI (-1) | ||
27 | #define KM_NMI_PTE (-1) | ||
28 | #define KM_IRQ_PTE (-1) | ||
29 | #endif | ||
30 | |||
25 | #endif | 31 | #endif |
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 7020217fc49f..4e506d09e5f9 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -403,6 +403,15 @@ | |||
403 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) | 403 | #define __ARM_NR_set_tls (__ARM_NR_BASE+5) |
404 | 404 | ||
405 | /* | 405 | /* |
406 | * *NOTE*: This is a ghost syscall private to the kernel. Only the | ||
407 | * __kuser_cmpxchg code in entry-armv.S should be aware of its | ||
408 | * existence. Don't ever use this from user code. | ||
409 | */ | ||
410 | #ifdef __KERNEL__ | ||
411 | #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) | ||
412 | #endif | ||
413 | |||
414 | /* | ||
406 | * The following syscalls are obsolete and no longer available for EABI. | 415 | * The following syscalls are obsolete and no longer available for EABI. |
407 | */ | 416 | */ |
408 | #if defined(__ARM_EABI__) && !defined(__KERNEL__) | 417 | #if defined(__ARM_EABI__) && !defined(__KERNEL__) |