hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/arm/include/asm/processor.h
....@@ -1,21 +1,12 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * arch/arm/include/asm/processor.h
34 *
45 * 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.
96 */
107
118 #ifndef __ASM_ARM_PROCESSOR_H
129 #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;})
1910
2011 #ifdef __KERNEL__
2112
....@@ -132,15 +123,13 @@
132123 __asm__ __volatile__(
133124 ".arch_extension mp\n"
134125 __ALT_SMP_ASM(
135
- WASM(pldw) "\t%a0",
136
- WASM(pld) "\t%a0"
126
+ "pldw\t%a0",
127
+ "pld\t%a0"
137128 )
138129 :: "p" (ptr));
139130 }
140131 #endif
141132 #endif
142
-
143
-#define HAVE_ARCH_PICK_MMAP_LAYOUT
144133
145134 #endif
146135