Skip to content

Commit 7bb32dc

Browse files
mrutland-armctmarinas
authored andcommitted
arm64: asm-offsets: remove PREEMPT_DISABLE_OFFSET
The PREEMPT_DISABLE_OFFSET definition was added in commit: 24534b3 ("arm64: assembler: add macros to conditionally yield the NEON under PREEMPT") ... but hasn't been used since commit: 3931261 ("arm64: fpsimd: Bring cond_yield asm macro in line with new rules") Remove PREEMPT_DISABLE_OFFSET. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20241007123921.549340-8-mark.rutland@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent b129125 commit 7bb32dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/arm64/kernel/asm-offsets.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/kexec.h>
1414
#include <linux/mm.h>
1515
#include <linux/kvm_host.h>
16-
#include <linux/preempt.h>
1716
#include <linux/suspend.h>
1817
#include <asm/cpufeature.h>
1918
#include <asm/fixmap.h>
@@ -95,8 +94,6 @@ int main(void)
9594
DEFINE(FREGS_SIZE, sizeof(struct ftrace_regs));
9695
BLANK();
9796
#endif
98-
DEFINE(PREEMPT_DISABLE_OFFSET, PREEMPT_DISABLE_OFFSET);
99-
BLANK();
10097
DEFINE(CPU_BOOT_TASK, offsetof(struct secondary_data, task));
10198
BLANK();
10299
DEFINE(FTR_OVR_VAL_OFFSET, offsetof(struct arm64_ftr_override, val));

0 commit comments

Comments
 (0)