Skip to content

Commit 3733304

Browse files
chleroympe
authored andcommitted
powerpc: Use linux/thread_info.h in processor.h
When we enable THREAD_INFO_IN_TASK we will remove our definition of current_thread_info(). Instead it will come from linux/thread_info.h So switch processor.h to include the latter, so that it can continue to find current_thread_info(). Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Split out of larger patch] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 5497c25 commit 3733304

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/powerpc/include/asm/processor.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
#ifndef __ASSEMBLY__
4242
#include <linux/types.h>
43-
#include <asm/thread_info.h>
43+
#include <linux/thread_info.h>
4444
#include <asm/ptrace.h>
4545
#include <asm/hw_breakpoint.h>
4646

0 commit comments

Comments
 (0)