| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OpenRISC Linux |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> |
|---|
| 10 | 11 | * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> |
|---|
| 11 | 12 | * et al. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 14 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 15 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 16 | | - * (at your option) any later version. |
|---|
| 17 | 13 | */ |
|---|
| 18 | 14 | |
|---|
| 19 | 15 | #ifndef __ASM_OPENRISC_PROCESSOR_H |
|---|
| .. | .. |
|---|
| 30 | 26 | | SPR_SR_DCE | SPR_SR_SM) |
|---|
| 31 | 27 | #define USER_SR (SPR_SR_DME | SPR_SR_IME | SPR_SR_ICE \ |
|---|
| 32 | 28 | | SPR_SR_DCE | SPR_SR_IEE | SPR_SR_TEE) |
|---|
| 33 | | -/* |
|---|
| 34 | | - * Default implementation of macro that returns current |
|---|
| 35 | | - * instruction pointer ("program counter"). |
|---|
| 36 | | - */ |
|---|
| 37 | | -#define current_text_addr() ({ __label__ _l; _l: &&_l; }) |
|---|
| 38 | 29 | |
|---|
| 39 | 30 | /* |
|---|
| 40 | 31 | * User space process size. This is hardcoded into a few places, |
|---|