summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-07-05 18:25:09 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-30 14:48:19 +0200
commit62b8426578c414c918468ab4cc7517da7adc31d5 (patch)
tree67f59b9446fdfb1afa73ff2dd43e1fa6d1051fbd /arch/powerpc/include/asm/processor.h
parentpowerpc/book3s: Remove PPC_PIN_SIZE (diff)
downloadlinux-62b8426578c414c918468ab4cc7517da7adc31d5.tar.xz
linux-62b8426578c414c918468ab4cc7517da7adc31d5.zip
powerpc: fix includes in asm/processor.h
Remove superflous includes and add missing ones Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
-rw-r--r--arch/powerpc/include/asm/processor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 5debe337ea9d..52fadded5c1e 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -39,10 +39,9 @@
#endif /* CONFIG_PPC64 */
#ifndef __ASSEMBLY__
-#include <linux/compiler.h>
-#include <linux/cache.h>
+#include <linux/types.h>
+#include <asm/thread_info.h>
#include <asm/ptrace.h>
-#include <asm/types.h>
#include <asm/hw_breakpoint.h>
/* We do _not_ want to define new machine types at all, those must die