projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b4d60
)
ARM: move outer_cache declaration out of ifdef
author
Rob Herring
<rob.herring@calxeda.com>
Sun, 18 Aug 2013 01:12:57 +0000
(20:12 -0500)
committer
Rob Herring
<rob.herring@calxeda.com>
Fri, 23 Aug 2013 01:48:41 +0000
(20:48 -0500)
Move the outer_cache declaration of the CONFIG_OUTER_CACHE ifdef so that
outer_cache can be used inside IS_ENABLED condition.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/include/asm/outercache.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/outercache.h
b/arch/arm/include/asm/outercache.h
index 12f71a19042253bdd107e78bff70235bb970b75b..f94784f0e3a6cee0a094125799111c302e2eed25 100644
(file)
--- a/
arch/arm/include/asm/outercache.h
+++ b/
arch/arm/include/asm/outercache.h
@@
-37,10
+37,10
@@
struct outer_cache_fns {
void (*resume)(void);
};
-#ifdef CONFIG_OUTER_CACHE
-
extern struct outer_cache_fns outer_cache;
+#ifdef CONFIG_OUTER_CACHE
+
static inline void outer_inv_range(phys_addr_t start, phys_addr_t end)
{
if (outer_cache.inv_range)