From a36159eec6ca17402b0e146b86efaf76568dc353 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 20 Sep 2024 01:41:23 +0000 Subject: [PATCH] 重命名 AX88772C_eeprom/asix.c 为 asix_mac.c --- 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