diff options
Diffstat (limited to 'arch/sparc64/mm')
-rw-r--r-- | arch/sparc64/mm/init.c | 4 | ||||
-rw-r--r-- | arch/sparc64/mm/tsb.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 09cb7fccc03a..a8e8802eed4d 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -176,9 +176,9 @@ unsigned long sparc64_kern_sec_context __read_mostly; | |||
176 | 176 | ||
177 | int bigkernel = 0; | 177 | int bigkernel = 0; |
178 | 178 | ||
179 | kmem_cache_t *pgtable_cache __read_mostly; | 179 | struct kmem_cache *pgtable_cache __read_mostly; |
180 | 180 | ||
181 | static void zero_ctor(void *addr, kmem_cache_t *cache, unsigned long flags) | 181 | static void zero_ctor(void *addr, struct kmem_cache *cache, unsigned long flags) |
182 | { | 182 | { |
183 | clear_page(addr); | 183 | clear_page(addr); |
184 | } | 184 | } |
diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc64/mm/tsb.c index beaa02810f0e..236d02f41a01 100644 --- a/arch/sparc64/mm/tsb.c +++ b/arch/sparc64/mm/tsb.c | |||
@@ -239,7 +239,7 @@ static void setup_tsb_params(struct mm_struct *mm, unsigned long tsb_idx, unsign | |||
239 | } | 239 | } |
240 | } | 240 | } |
241 | 241 | ||
242 | static kmem_cache_t *tsb_caches[8] __read_mostly; | 242 | static struct kmem_cache *tsb_caches[8] __read_mostly; |
243 | 243 | ||
244 | static const char *tsb_cache_names[8] = { | 244 | static const char *tsb_cache_names[8] = { |
245 | "tsb_8KB", | 245 | "tsb_8KB", |