1 // SPDX-License-Identifier: GPL-2.0
2 #ifndef __LINUX_KBUILD_H
3 # error "Please do not build this file directly, build asm-offsets.c instead"
8 #if defined(CONFIG_KVM_GUEST)
9 #include <asm/kvm_para.h>
14 #ifdef CONFIG_PARAVIRT
15 #ifdef CONFIG_PARAVIRT_XXL
16 #ifdef CONFIG_DEBUG_ENTRY
17 OFFSET(PV_IRQ_save_fl
, paravirt_patch_template
, irq
.save_fl
);
23 #if defined(CONFIG_KVM_GUEST)
24 OFFSET(KVM_STEAL_TIME_preempted
, kvm_steal_time
, preempted
);
28 #define ENTRY(entry) OFFSET(pt_regs_ ## entry, pt_regs, entry)
48 #define ENTRY(entry) OFFSET(saved_context_ ## entry, saved_context, entry)
59 #ifdef CONFIG_STACKPROTECTOR
60 OFFSET(FIXED_stack_canary
, fixed_percpu_data
, stack_canary
);