From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:20:52 +0000
Subject: [PATCH] add new system file

---
 kernel/arch/c6x/include/asm/processor.h |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/kernel/arch/c6x/include/asm/processor.h b/kernel/arch/c6x/include/asm/processor.h
index 8f7cce8..1456f5e 100644
--- a/kernel/arch/c6x/include/asm/processor.h
+++ b/kernel/arch/c6x/include/asm/processor.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  Port on Texas Instruments TMS320C6x architecture
  *
@@ -5,10 +6,6 @@
  *  Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
  *
  *  Updated for 2.6.34: Mark Salter <msalter@redhat.com>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License version 2 as
- *  published by the Free Software Foundation.
  */
 #ifndef _ASM_C6X_PROCESSOR_H
 #define _ASM_C6X_PROCESSOR_H
@@ -16,17 +13,6 @@
 #include <asm/ptrace.h>
 #include <asm/page.h>
 #include <asm/current.h>
-
-/*
- * Default implementation of macro that returns current
- * instruction pointer ("program counter").
- */
-#define current_text_addr()			\
-({						\
-	void *__pc;				\
-	asm("mvc .S2 pce1,%0\n" : "=b"(__pc));	\
-	__pc;					\
-})
 
 /*
  * User space process size. This is mostly meaningless for NOMMU

--
Gitblit v1.6.2