diff options
Diffstat (limited to 'include/asm-sh/cache.h')
-rw-r--r-- | include/asm-sh/cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sh/cache.h b/include/asm-sh/cache.h index e3a180cf5062..9a3cb6ba9d15 100644 --- a/include/asm-sh/cache.h +++ b/include/asm-sh/cache.h | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) | 22 | #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) |
23 | 23 | ||
24 | #ifndef __ASSEMBLY__ | ||
24 | struct cache_info { | 25 | struct cache_info { |
25 | unsigned int ways; /* Number of cache ways */ | 26 | unsigned int ways; /* Number of cache ways */ |
26 | unsigned int sets; /* Number of cache sets */ | 27 | unsigned int sets; /* Number of cache sets */ |
@@ -47,6 +48,6 @@ struct cache_info { | |||
47 | 48 | ||
48 | unsigned long flags; | 49 | unsigned long flags; |
49 | }; | 50 | }; |
50 | 51 | #endif /* __ASSEMBLY__ */ | |
51 | #endif /* __KERNEL__ */ | 52 | #endif /* __KERNEL__ */ |
52 | #endif /* __ASM_SH_CACHE_H */ | 53 | #endif /* __ASM_SH_CACHE_H */ |