asm-offsets.c (becdce1c66b21ce1c0452e16127182ef692f47ba) asm-offsets.c (840798a1f52994c172270893bd2ec6013cc92e40)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Generate definitions needed by assembly language modules.
4 * This code generates raw asm output which is post-processed to extract
5 * and format the required data.
6 */
7
8#define ASM_OFFSETS_C
9
10#include <linux/kbuild.h>
11#include <linux/kvm_host.h>
12#include <linux/sched.h>
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Generate definitions needed by assembly language modules.
4 * This code generates raw asm output which is post-processed to extract
5 * and format the required data.
6 */
7
8#define ASM_OFFSETS_C
9
10#include <linux/kbuild.h>
11#include <linux/kvm_host.h>
12#include <linux/sched.h>
13#include <linux/purgatory.h>
13#include <asm/idle.h>
14#include <asm/vdso.h>
15#include <asm/pgtable.h>
16#include <asm/gmap.h>
17#include <asm/nmi.h>
18
19/*
20 * Make sure that the compiler is new enough. We want a compiler that

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

199 BLANK();
200 /* extended machine check save area */
201 OFFSET(__MCESA_GS_SAVE_AREA, mcesa, guarded_storage_save_area);
202 BLANK();
203 /* gmap/sie offsets */
204 OFFSET(__GMAP_ASCE, gmap, asce);
205 OFFSET(__SIE_PROG0C, kvm_s390_sie_block, prog0c);
206 OFFSET(__SIE_PROG20, kvm_s390_sie_block, prog20);
14#include <asm/idle.h>
15#include <asm/vdso.h>
16#include <asm/pgtable.h>
17#include <asm/gmap.h>
18#include <asm/nmi.h>
19
20/*
21 * Make sure that the compiler is new enough. We want a compiler that

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

200 BLANK();
201 /* extended machine check save area */
202 OFFSET(__MCESA_GS_SAVE_AREA, mcesa, guarded_storage_save_area);
203 BLANK();
204 /* gmap/sie offsets */
205 OFFSET(__GMAP_ASCE, gmap, asce);
206 OFFSET(__SIE_PROG0C, kvm_s390_sie_block, prog0c);
207 OFFSET(__SIE_PROG20, kvm_s390_sie_block, prog20);
208 /* kexec_sha_region */
209 OFFSET(__KEXEC_SHA_REGION_START, kexec_sha_region, start);
210 OFFSET(__KEXEC_SHA_REGION_LEN, kexec_sha_region, len);
211 DEFINE(__KEXEC_SHA_REGION_SIZE, sizeof(struct kexec_sha_region));
207 return 0;
208}
212 return 0;
213}