]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm64: asm-offsets: remove unused definitions
authorMark Rutland <mark.rutland@arm.com>
Thu, 3 Nov 2016 20:23:04 +0000 (20:23 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 11 Nov 2016 18:25:42 +0000 (18:25 +0000)
Subsequent patches will move the thread_info::{task,cpu} fields, and the
current TI_{TASK,CPU} offset definitions are not used anywhere.

This patch removes the redundant definitions.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/asm-offsets.c

index 4a2f0f0fef329d81b272c3d7430ee7607cec6d84..d30b2321c0ee07cf6a7f6c0c2ae9a8e63db08c93 100644 (file)
@@ -39,8 +39,6 @@ int main(void)
   DEFINE(TI_FLAGS,             offsetof(struct thread_info, flags));
   DEFINE(TI_PREEMPT,           offsetof(struct thread_info, preempt_count));
   DEFINE(TI_ADDR_LIMIT,                offsetof(struct thread_info, addr_limit));
-  DEFINE(TI_TASK,              offsetof(struct thread_info, task));
-  DEFINE(TI_CPU,               offsetof(struct thread_info, cpu));
   BLANK();
   DEFINE(THREAD_CPU_CONTEXT,   offsetof(struct task_struct, thread.cpu_context));
   BLANK();