summaryrefslogtreecommitdiffstats
path: root/arch/c6x/include
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2013-11-11 14:28:33 +0100
committerMark Salter <msalter@redhat.com>2014-03-04 23:21:58 +0100
commitae72758f1dd93bd367dc7719702f24a9bfb3bad9 (patch)
treeec2da4927b0aa0b6963e51ec855b8dfcc3b1d38e /arch/c6x/include
parentLinux 3.13 (diff)
downloadlinux-ae72758f1dd93bd367dc7719702f24a9bfb3bad9.tar.xz
linux-ae72758f1dd93bd367dc7719702f24a9bfb3bad9.zip
c6x: fix build failure caused by cache.h
A patch to linux/irqflags.h uncovered a problem with c6x asm/cache.h which causes a build failure: /arch/c6x/include/asm/cache.h:63:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c6x_cache_init’ extern void __init c6x_cache_init(void); The asm/cache.h was relying on linux/irqflags.h to pull in linux/init.h but the recent patch changed that. The c6x header should have included linux/init.h all along. Signed-off-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/include')
-rw-r--r--arch/c6x/include/asm/cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/cache.h b/arch/c6x/include/asm/cache.h
index 09c5a0f5f4d1..86648c083bb4 100644
--- a/arch/c6x/include/asm/cache.h
+++ b/arch/c6x/include/asm/cache.h
@@ -12,6 +12,7 @@
#define _ASM_C6X_CACHE_H
#include <linux/irqflags.h>
+#include <linux/init.h>
/*
* Cache line size