.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Port on Texas Instruments TMS320C6x architecture |
---|
3 | 4 | * |
---|
.. | .. |
---|
5 | 6 | * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) |
---|
6 | 7 | * |
---|
7 | 8 | * Updated for 2.6.34: Mark Salter <msalter@redhat.com> |
---|
8 | | - * |
---|
9 | | - * This program is free software; you can redistribute it and/or modify |
---|
10 | | - * it under the terms of the GNU General Public License version 2 as |
---|
11 | | - * published by the Free Software Foundation. |
---|
12 | 9 | */ |
---|
13 | 10 | #ifndef _ASM_C6X_PROCESSOR_H |
---|
14 | 11 | #define _ASM_C6X_PROCESSOR_H |
---|
.. | .. |
---|
16 | 13 | #include <asm/ptrace.h> |
---|
17 | 14 | #include <asm/page.h> |
---|
18 | 15 | #include <asm/current.h> |
---|
19 | | - |
---|
20 | | -/* |
---|
21 | | - * Default implementation of macro that returns current |
---|
22 | | - * instruction pointer ("program counter"). |
---|
23 | | - */ |
---|
24 | | -#define current_text_addr() \ |
---|
25 | | -({ \ |
---|
26 | | - void *__pc; \ |
---|
27 | | - asm("mvc .S2 pce1,%0\n" : "=b"(__pc)); \ |
---|
28 | | - __pc; \ |
---|
29 | | -}) |
---|
30 | 16 | |
---|
31 | 17 | /* |
---|
32 | 18 | * User space process size. This is mostly meaningless for NOMMU |
---|