diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-03-21 22:40:43 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-04-10 11:56:08 +0200 |
commit | 294d62743754f1fefefccccb09f8deec48f00969 (patch) | |
tree | aad61bcf06c2940b5c747e8c85132f5ce0ef76fd /arch/mips/include/asm/cpu-info.h | |
parent | MIPS: Delete unused definition of SMP_CACHE_SHIFT. (diff) | |
download | linux-294d62743754f1fefefccccb09f8deec48f00969.tar.xz linux-294d62743754f1fefefccccb09f8deec48f00969.zip |
MIPS: Delete redundant definition of SMP_CACHE_BYTES.
<linux/cache.h> already defines SMP_CACHE_BYTES as L1_CACHE_BYTES.
This change results in a build error in <asm/cpu-info.h> which directly
includes <asm/cache.h>. Fix this by including <linux/cache.h> instead.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r-- | arch/mips/include/asm/cpu-info.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/include/asm/cpu-info.h b/arch/mips/include/asm/cpu-info.h index edbe2734a1bf..d43b3045109e 100644 --- a/arch/mips/include/asm/cpu-info.h +++ b/arch/mips/include/asm/cpu-info.h @@ -12,10 +12,9 @@ #ifndef __ASM_CPU_INFO_H #define __ASM_CPU_INFO_H +#include <linux/cache.h> #include <linux/types.h> -#include <asm/cache.h> - /* * Descriptor for a cache */ |