diff options
Diffstat (limited to 'arch/sh/include/asm/fixmap.h')
-rw-r--r-- | arch/sh/include/asm/fixmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/fixmap.h b/arch/sh/include/asm/fixmap.h index 6e7cea453895..bd7e79a12653 100644 --- a/arch/sh/include/asm/fixmap.h +++ b/arch/sh/include/asm/fixmap.h | |||
@@ -58,7 +58,7 @@ enum fixed_addresses { | |||
58 | 58 | ||
59 | #ifdef CONFIG_HIGHMEM | 59 | #ifdef CONFIG_HIGHMEM |
60 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ | 60 | FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ |
61 | FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, | 61 | FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1, |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | #ifdef CONFIG_IOREMAP_FIXED | 64 | #ifdef CONFIG_IOREMAP_FIXED |
@@ -69,7 +69,7 @@ enum fixed_addresses { | |||
69 | */ | 69 | */ |
70 | #define FIX_N_IOREMAPS 32 | 70 | #define FIX_N_IOREMAPS 32 |
71 | FIX_IOREMAP_BEGIN, | 71 | FIX_IOREMAP_BEGIN, |
72 | FIX_IOREMAP_END = FIX_IOREMAP_BEGIN + FIX_N_IOREMAPS, | 72 | FIX_IOREMAP_END = FIX_IOREMAP_BEGIN + FIX_N_IOREMAPS - 1, |
73 | #endif | 73 | #endif |
74 | 74 | ||
75 | __end_of_fixed_addresses | 75 | __end_of_fixed_addresses |