]> Git Repo - linux.git/commitdiff
arm64: asm-offsets: remove PREEMPT_DISABLE_OFFSET
authorMark Rutland <[email protected]>
Mon, 7 Oct 2024 12:39:21 +0000 (13:39 +0100)
committerCatalin Marinas <[email protected]>
Tue, 15 Oct 2024 17:42:07 +0000 (18:42 +0100)
The PREEMPT_DISABLE_OFFSET definition was added in commit:

  24534b3511828c66 ("arm64: assembler: add macros to conditionally yield the NEON under PREEMPT")

... but hasn't been used since commit:

  3931261ecf46151a ("arm64: fpsimd: Bring cond_yield asm macro in line with new rules")

Remove PREEMPT_DISABLE_OFFSET.

Signed-off-by: Mark Rutland <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/kernel/asm-offsets.c

index e5ffdc0163aad2f719ebf54fcee1ed5c49e8abeb..cb2e9567dca9495abd49fc62381299a5445b6407 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/kexec.h>
 #include <linux/mm.h>
 #include <linux/kvm_host.h>
-#include <linux/preempt.h>
 #include <linux/suspend.h>
 #include <asm/cpufeature.h>
 #include <asm/fixmap.h>
@@ -95,8 +94,6 @@ int main(void)
   DEFINE(FREGS_SIZE,           sizeof(struct ftrace_regs));
   BLANK();
 #endif
-  DEFINE(PREEMPT_DISABLE_OFFSET, PREEMPT_DISABLE_OFFSET);
-  BLANK();
   DEFINE(CPU_BOOT_TASK,                offsetof(struct secondary_data, task));
   BLANK();
   DEFINE(FTR_OVR_VAL_OFFSET,   offsetof(struct arm64_ftr_override, val));
This page took 0.058599 seconds and 4 git commands to generate.