diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 00:54:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 00:54:37 -0400 |
commit | 6a302358d87fedaf7bda12b8e909265ebf1ce674 (patch) | |
tree | 9bb5d79d812d531ae7031fe4aecf18151e41f716 /include/asm-sh/fixmap.h | |
parent | 8e268f333012c62fc6a5a10e1e2a19c1c389853e (diff) | |
parent | e06c4e5775b1efc4e476f2430439e45867775f5f (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23:
sh: Fix fs.h removal from mm.h regressions.
sh: fix get_wchan() for SH kernels without framepointers
sh: arch/sh/boot - fix shell usage
rtc: rtc-sh: Correct sh_rtc_set_time() for some SH-3 parts.
sh: remove support for sh7300 and solution engine 7300
sh: Add sh to the CC_OPTIMIZE_FOR_SIZE dependencies.
sh: Kill off virt_to_bus()/bus_to_virt().
sh: sh-sci - fix SH7708 support
sh: Restrict DSP support to specific CPUs.
sh: Silence sq compile warning on sh4 nommu.
sh: Kill the rest of the SE73180 cruft.
sh: remove support for sh73180 and solution engine 73180
sh: remove old broken pint code
sh: Reclaim beginning of P3 space for vmalloc area.
sh: Fix Dreamcast DMA issues.
sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4.
Diffstat (limited to 'include/asm-sh/fixmap.h')
-rw-r--r-- | include/asm-sh/fixmap.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-sh/fixmap.h b/include/asm-sh/fixmap.h index 458e9fa59545..8a566177ad96 100644 --- a/include/asm-sh/fixmap.h +++ b/include/asm-sh/fixmap.h | |||
@@ -46,6 +46,9 @@ | |||
46 | * fix-mapped? | 46 | * fix-mapped? |
47 | */ | 47 | */ |
48 | enum fixed_addresses { | 48 | enum fixed_addresses { |
49 | #define FIX_N_COLOURS 16 | ||
50 | FIX_CMAP_BEGIN, | ||
51 | FIX_CMAP_END = FIX_CMAP_BEGIN + FIX_N_COLOURS, | ||
49 | #ifdef CONFIG_HIGHMEM | 52 | #ifdef CONFIG_HIGHMEM |
50 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | 53 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
51 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | 54 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
@@ -53,8 +56,8 @@ enum fixed_addresses { | |||
53 | __end_of_fixed_addresses | 56 | __end_of_fixed_addresses |
54 | }; | 57 | }; |
55 | 58 | ||
56 | extern void __set_fixmap (enum fixed_addresses idx, | 59 | extern void __set_fixmap(enum fixed_addresses idx, |
57 | unsigned long phys, pgprot_t flags); | 60 | unsigned long phys, pgprot_t flags); |
58 | 61 | ||
59 | #define set_fixmap(idx, phys) \ | 62 | #define set_fixmap(idx, phys) \ |
60 | __set_fixmap(idx, phys, PAGE_KERNEL) | 63 | __set_fixmap(idx, phys, PAGE_KERNEL) |
@@ -106,5 +109,4 @@ static inline unsigned long virt_to_fix(const unsigned long vaddr) | |||
106 | BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); | 109 | BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); |
107 | return __virt_to_fix(vaddr); | 110 | return __virt_to_fix(vaddr); |
108 | } | 111 | } |
109 | |||
110 | #endif | 112 | #endif |