Skip to content

Commit 3fe12da

Browse files
mrutland-armctmarinas
authored andcommitted
arm64: asm-offsets: remove unused definitions
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>
1 parent dcbe028 commit 3fe12da

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎arch/arm64/kernel/asm-offsets.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ int main(void)
3939
DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
4040
DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count));
4141
DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit));
42-
DEFINE(TI_TASK, offsetof(struct thread_info, task));
43-
DEFINE(TI_CPU, offsetof(struct thread_info, cpu));
4442
BLANK();
4543
DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context));
4644
BLANK();

0 commit comments

Comments
 (0)