asm-offsets.c (cf40a76e7d5874bb25f4404eecc58a2e033af885) asm-offsets.c (51a0048beb449682d632d0af52a515adb9f9882e)
1/*
2 * Based on arch/arm/kernel/asm-offsets.c
3 *
4 * Copyright (C) 1995-2003 Russell King
5 * 2001-2002 Keith Owens
6 * Copyright (C) 2012 ARM Ltd.
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 10 unchanged lines hidden (view full) ---

19 */
20
21#include <linux/sched.h>
22#include <linux/mm.h>
23#include <linux/dma-mapping.h>
24#include <linux/kvm_host.h>
25#include <linux/suspend.h>
26#include <asm/cpufeature.h>
1/*
2 * Based on arch/arm/kernel/asm-offsets.c
3 *
4 * Copyright (C) 1995-2003 Russell King
5 * 2001-2002 Keith Owens
6 * Copyright (C) 2012 ARM Ltd.
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 10 unchanged lines hidden (view full) ---

19 */
20
21#include <linux/sched.h>
22#include <linux/mm.h>
23#include <linux/dma-mapping.h>
24#include <linux/kvm_host.h>
25#include <linux/suspend.h>
26#include <asm/cpufeature.h>
27#include <asm/fixmap.h>
27#include <asm/thread_info.h>
28#include <asm/memory.h>
29#include <asm/smp_plat.h>
30#include <asm/suspend.h>
31#include <asm/vdso_datapage.h>
32#include <linux/kbuild.h>
33#include <linux/arm-smccc.h>
34

--- 108 unchanged lines hidden (view full) ---

143 DEFINE(MPIDR_HASH_SHIFTS, offsetof(struct mpidr_hash, shift_aff));
144 DEFINE(SLEEP_STACK_DATA_SYSTEM_REGS, offsetof(struct sleep_stack_data, system_regs));
145 DEFINE(SLEEP_STACK_DATA_CALLEE_REGS, offsetof(struct sleep_stack_data, callee_saved_regs));
146#endif
147 DEFINE(ARM_SMCCC_RES_X0_OFFS, offsetof(struct arm_smccc_res, a0));
148 DEFINE(ARM_SMCCC_RES_X2_OFFS, offsetof(struct arm_smccc_res, a2));
149 DEFINE(ARM_SMCCC_QUIRK_ID_OFFS, offsetof(struct arm_smccc_quirk, id));
150 DEFINE(ARM_SMCCC_QUIRK_STATE_OFFS, offsetof(struct arm_smccc_quirk, state));
28#include <asm/thread_info.h>
29#include <asm/memory.h>
30#include <asm/smp_plat.h>
31#include <asm/suspend.h>
32#include <asm/vdso_datapage.h>
33#include <linux/kbuild.h>
34#include <linux/arm-smccc.h>
35

--- 108 unchanged lines hidden (view full) ---

144 DEFINE(MPIDR_HASH_SHIFTS, offsetof(struct mpidr_hash, shift_aff));
145 DEFINE(SLEEP_STACK_DATA_SYSTEM_REGS, offsetof(struct sleep_stack_data, system_regs));
146 DEFINE(SLEEP_STACK_DATA_CALLEE_REGS, offsetof(struct sleep_stack_data, callee_saved_regs));
147#endif
148 DEFINE(ARM_SMCCC_RES_X0_OFFS, offsetof(struct arm_smccc_res, a0));
149 DEFINE(ARM_SMCCC_RES_X2_OFFS, offsetof(struct arm_smccc_res, a2));
150 DEFINE(ARM_SMCCC_QUIRK_ID_OFFS, offsetof(struct arm_smccc_quirk, id));
151 DEFINE(ARM_SMCCC_QUIRK_STATE_OFFS, offsetof(struct arm_smccc_quirk, state));
151
152 BLANK();
153 DEFINE(HIBERN_PBE_ORIG, offsetof(struct pbe, orig_address));
154 DEFINE(HIBERN_PBE_ADDR, offsetof(struct pbe, address));
155 DEFINE(HIBERN_PBE_NEXT, offsetof(struct pbe, next));
156 DEFINE(ARM64_FTR_SYSVAL, offsetof(struct arm64_ftr_reg, sys_val));
152 BLANK();
153 DEFINE(HIBERN_PBE_ORIG, offsetof(struct pbe, orig_address));
154 DEFINE(HIBERN_PBE_ADDR, offsetof(struct pbe, address));
155 DEFINE(HIBERN_PBE_NEXT, offsetof(struct pbe, next));
156 DEFINE(ARM64_FTR_SYSVAL, offsetof(struct arm64_ftr_reg, sys_val));
157 BLANK();
158#ifdef CONFIG_UNMAP_KERNEL_AT_EL0
159 DEFINE(TRAMP_VALIAS, TRAMP_VALIAS);
160#endif
157 return 0;
158}
161 return 0;
162}