hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/microblaze/include/asm/processor.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
34 * Copyright (C) 2008-2009 PetaLogix
45 * Copyright (C) 2006 Atmark Techno, Inc.
5
- *
6
- * This file is subject to the terms and conditions of the GNU General Public
7
- * License. See the file "COPYING" in the main directory of this archive
8
- * for more details.
96 */
107
118 #ifndef _ASM_MICROBLAZE_PROCESSOR_H
....@@ -44,12 +41,6 @@
4441 * physical memory. thus, we set TASK_SIZE == amount of total memory.
4542 */
4643 # define TASK_SIZE (0x81000000 - 0x80000000)
47
-
48
-/*
49
- * Default implementation of macro that returns current
50
- * instruction pointer ("program counter").
51
- */
52
-# define current_text_addr() ({ __label__ _l; _l: &&_l; })
5344
5445 /*
5546 * This decides where the kernel will search for a free chunk of vm
....@@ -91,12 +82,6 @@
9182 # define THREAD_KSP 0
9283
9384 # ifndef __ASSEMBLY__
94
-
95
-/*
96
- * Default implementation of macro that returns current
97
- * instruction pointer ("program counter").
98
- */
99
-# define current_text_addr() ({ __label__ _l; _l: &&_l; })
10085
10186 /* If you change this, you must change the associated assembly-languages
10287 * constants defined below, THREAD_*.