1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Author: Huacai Chen <chenhuacai@loongson.cn>
4  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
5  */
6 
7 #include <linux/binfmts.h>
8 #include <linux/elf.h>
9 #include <linux/sched.h>
10 
11 #include <asm/cpu-features.h>
12 #include <asm/cpu-info.h>
13 
arch_elf_pt_proc(void * _ehdr,void * _phdr,struct file * elf,bool is_interp,struct arch_elf_state * state)14 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf,
15 		     bool is_interp, struct arch_elf_state *state)
16 {
17 	return 0;
18 }
19 
arch_check_elf(void * _ehdr,bool has_interpreter,void * _interp_ehdr,struct arch_elf_state * state)20 int arch_check_elf(void *_ehdr, bool has_interpreter, void *_interp_ehdr,
21 		   struct arch_elf_state *state)
22 {
23 	return 0;
24 }
25