.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * arch/arm/include/asm/processor.h |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 1995-1999 Russell King |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | 6 | */ |
---|
10 | 7 | |
---|
11 | 8 | #ifndef __ASM_ARM_PROCESSOR_H |
---|
12 | 9 | #define __ASM_ARM_PROCESSOR_H |
---|
13 | | - |
---|
14 | | -/* |
---|
15 | | - * Default implementation of macro that returns current |
---|
16 | | - * instruction pointer ("program counter"). |
---|
17 | | - */ |
---|
18 | | -#define current_text_addr() ({ __label__ _l; _l: &&_l;}) |
---|
19 | 10 | |
---|
20 | 11 | #ifdef __KERNEL__ |
---|
21 | 12 | |
---|
.. | .. |
---|
132 | 123 | __asm__ __volatile__( |
---|
133 | 124 | ".arch_extension mp\n" |
---|
134 | 125 | __ALT_SMP_ASM( |
---|
135 | | - WASM(pldw) "\t%a0", |
---|
136 | | - WASM(pld) "\t%a0" |
---|
| 126 | + "pldw\t%a0", |
---|
| 127 | + "pld\t%a0" |
---|
137 | 128 | ) |
---|
138 | 129 | :: "p" (ptr)); |
---|
139 | 130 | } |
---|
140 | 131 | #endif |
---|
141 | 132 | #endif |
---|
142 | | - |
---|
143 | | -#define HAVE_ARCH_PICK_MMAP_LAYOUT |
---|
144 | 133 | |
---|
145 | 134 | #endif |
---|
146 | 135 | |
---|