hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/c6x/include/asm/processor.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Port on Texas Instruments TMS320C6x architecture
34 *
....@@ -5,10 +6,6 @@
56 * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
67 *
78 * 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.
129 */
1310 #ifndef _ASM_C6X_PROCESSOR_H
1411 #define _ASM_C6X_PROCESSOR_H
....@@ -16,17 +13,6 @@
1613 #include <asm/ptrace.h>
1714 #include <asm/page.h>
1815 #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
-})
3016
3117 /*
3218 * User space process size. This is mostly meaningless for NOMMU