| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OpenRISC entry.S |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> |
|---|
| 10 | 11 | * Copyright (C) 2005 Gyorgy Jeney <nog@bsemi.com> |
|---|
| 11 | 12 | * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is free software; you can redistribute it and/or |
|---|
| 14 | | - * modify it under the terms of the GNU General Public License |
|---|
| 15 | | - * as published by the Free Software Foundation; either version |
|---|
| 16 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 17 | 13 | */ |
|---|
| 18 | 14 | |
|---|
| 19 | 15 | #include <linux/linkage.h> |
|---|
| 16 | +#include <linux/pgtable.h> |
|---|
| 20 | 17 | |
|---|
| 21 | 18 | #include <asm/processor.h> |
|---|
| 22 | 19 | #include <asm/unistd.h> |
|---|
| .. | .. |
|---|
| 25 | 22 | #include <asm/spr_defs.h> |
|---|
| 26 | 23 | #include <asm/page.h> |
|---|
| 27 | 24 | #include <asm/mmu.h> |
|---|
| 28 | | -#include <asm/pgtable.h> |
|---|
| 29 | 25 | #include <asm/asm-offsets.h> |
|---|
| 30 | 26 | |
|---|
| 31 | 27 | #define DISABLE_INTERRUPTS(t1,t2) \ |
|---|
| .. | .. |
|---|
| 1174 | 1170 | l.j _fork_save_extra_regs_and_call |
|---|
| 1175 | 1171 | l.nop |
|---|
| 1176 | 1172 | |
|---|
| 1173 | +ENTRY(__sys_clone3) |
|---|
| 1174 | + l.movhi r29,hi(sys_clone3) |
|---|
| 1175 | + l.j _fork_save_extra_regs_and_call |
|---|
| 1176 | + l.ori r29,r29,lo(sys_clone3) |
|---|
| 1177 | + |
|---|
| 1177 | 1178 | ENTRY(__sys_fork) |
|---|
| 1178 | 1179 | l.movhi r29,hi(sys_fork) |
|---|
| 1179 | 1180 | l.ori r29,r29,lo(sys_fork) |
|---|