]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
powerpc: fix includes in asm/processor.h
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 5 Jul 2018 16:25:09 +0000 (16:25 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 30 Jul 2018 12:48:19 +0000 (22:48 +1000)
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>
arch/powerpc/include/asm/hw_breakpoint.h
arch/powerpc/include/asm/processor.h

index 8e7b09703ca45dbe2592441e5520176024baee24..3637588d3f6d0073ef6394047e215676f4adb843 100644 (file)
@@ -55,6 +55,7 @@ struct arch_hw_breakpoint {
 struct perf_event;
 struct pmu;
 struct perf_sample_data;
+struct task_struct;
 
 #define HW_BREAKPOINT_ALIGN 0x7
 
index 5debe337ea9d3f1f5b7c699428f0cfabce44435b..52fadded5c1ef653f2448764bf0a3a79295cdeaa 100644 (file)
 #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