elf.h (d57778feb9878aa6b79c615fd029c2112d40a747) | elf.h (779df2248739b6308c03b354c99e4c352141e3bc) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * S390 version 4 * 5 * Derived from "include/asm-i386/elf.h" 6 */ 7 8#ifndef __ASMS390_ELF_H --- 130 unchanged lines hidden (view full) --- 139typedef s390_regs elf_gregset_t; 140 141typedef s390_fp_regs compat_elf_fpregset_t; 142typedef s390_compat_regs compat_elf_gregset_t; 143 144#include <linux/sched/mm.h> /* for task_struct */ 145#include <asm/mmu_context.h> 146 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * S390 version 4 * 5 * Derived from "include/asm-i386/elf.h" 6 */ 7 8#ifndef __ASMS390_ELF_H --- 130 unchanged lines hidden (view full) --- 139typedef s390_regs elf_gregset_t; 140 141typedef s390_fp_regs compat_elf_fpregset_t; 142typedef s390_compat_regs compat_elf_gregset_t; 143 144#include <linux/sched/mm.h> /* for task_struct */ 145#include <asm/mmu_context.h> 146 |
147#include <asm/vdso.h> 148 | |
149/* 150 * This is used to ensure we don't load something for the wrong architecture. 151 */ 152#define elf_check_arch(x) \ 153 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ 154 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 155#define compat_elf_check_arch(x) \ 156 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ --- 124 unchanged lines hidden --- | 147/* 148 * This is used to ensure we don't load something for the wrong architecture. 149 */ 150#define elf_check_arch(x) \ 151 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ 152 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 153#define compat_elf_check_arch(x) \ 154 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ --- 124 unchanged lines hidden --- |