Skip to content
Commit 336868af authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

powerpc: smp: remove hack to obtain offset of task_struct::cpu



Instead of relying on awful hacks to obtain the offset of the cpu field
in struct task_struct, move it back into struct thread_info, which does
not create the same level of circular dependency hell when trying to
include the header file that defines it.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Acked-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent bcf9033e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment