Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17a00d3d authored by Mark Rutland's avatar Mark Rutland Committed by Olav Haugan
Browse files

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.

Change-Id: I94520a089e3aaed1ef91eb1a09473b8e86202ed3
Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Tested-by: default avatarLaura Abbott <labbott@redhat.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Git-commit: 3fe12da4c7fa6491e0fb7c5371716ac7f8ea80a5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


[ohaugan@codeaurora.org: Fix merge conflict]
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent 51096c40
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -39,11 +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));
#ifdef CONFIG_ARM64_SW_TTBR0_PAN
  DEFINE(TI_TTBR0,		offsetof(struct thread_info, ttbr0));
#endif
  DEFINE(TI_TASK,		offsetof(struct thread_info, task));
  DEFINE(TI_CPU,		offsetof(struct thread_info, cpu));
#ifdef CONFIG_ARM64_SW_TTBR0_PAN
  DEFINE(TSK_TI_TTBR0,		offsetof(struct thread_info, ttbr0));
#endif