aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-15 12:47:44 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-22 11:21:35 -0400
commit265c271c822bd57677e3b286389487fd45e6960d (patch)
tree2aa131dea0449f20fd7427fb8d723b693cf22a03 /arch/arm/include
parent4b660a7f5c8099d88d1a43d8ae138965112592c7 (diff)
ARM: l2c: remove outer_inv_all() method
No one ever calls this function anywhere in the kernel, so let's completely remove it from the outer cache API and turn it into an internal-only thing. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/outercache.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/include/asm/outercache.h b/arch/arm/include/asm/outercache.h
index f94784f0e3a6..0e4420858990 100644
--- a/arch/arm/include/asm/outercache.h
+++ b/arch/arm/include/asm/outercache.h
@@ -28,7 +28,6 @@ struct outer_cache_fns {
28 void (*clean_range)(unsigned long, unsigned long); 28 void (*clean_range)(unsigned long, unsigned long);
29 void (*flush_range)(unsigned long, unsigned long); 29 void (*flush_range)(unsigned long, unsigned long);
30 void (*flush_all)(void); 30 void (*flush_all)(void);
31 void (*inv_all)(void);
32 void (*disable)(void); 31 void (*disable)(void);
33#ifdef CONFIG_OUTER_CACHE_SYNC 32#ifdef CONFIG_OUTER_CACHE_SYNC
34 void (*sync)(void); 33 void (*sync)(void);
@@ -63,12 +62,6 @@ static inline void outer_flush_all(void)
63 outer_cache.flush_all(); 62 outer_cache.flush_all();
64} 63}
65 64
66static inline void outer_inv_all(void)
67{
68 if (outer_cache.inv_all)
69 outer_cache.inv_all();
70}
71
72static inline void outer_disable(void) 65static inline void outer_disable(void)
73{ 66{
74 if (outer_cache.disable) 67 if (outer_cache.disable)
@@ -90,7 +83,6 @@ static inline void outer_clean_range(phys_addr_t start, phys_addr_t end)
90static inline void outer_flush_range(phys_addr_t start, phys_addr_t end) 83static inline void outer_flush_range(phys_addr_t start, phys_addr_t end)
91{ } 84{ }
92static inline void outer_flush_all(void) { } 85static inline void outer_flush_all(void) { }
93static inline void outer_inv_all(void) { }
94static inline void outer_disable(void) { } 86static inline void outer_disable(void) { }
95static inline void outer_resume(void) { } 87static inline void outer_resume(void) { }
96 88