From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 31 Jan 2024 01:04:47 +0000
Subject: [PATCH] add driver 5G
---
kernel/arch/arm/include/asm/processor.h | 17 +++--------------
1 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/kernel/arch/arm/include/asm/processor.h b/kernel/arch/arm/include/asm/processor.h
index ab0fe3d..b924105 100644
--- a/kernel/arch/arm/include/asm/processor.h
+++ b/kernel/arch/arm/include/asm/processor.h
@@ -1,21 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* arch/arm/include/asm/processor.h
*
* Copyright (C) 1995-1999 Russell King
- *
- * 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_ARM_PROCESSOR_H
#define __ASM_ARM_PROCESSOR_H
-
-/*
- * Default implementation of macro that returns current
- * instruction pointer ("program counter").
- */
-#define current_text_addr() ({ __label__ _l; _l: &&_l;})
#ifdef __KERNEL__
@@ -132,15 +123,13 @@
__asm__ __volatile__(
".arch_extension mp\n"
__ALT_SMP_ASM(
- WASM(pldw) "\t%a0",
- WASM(pld) "\t%a0"
+ "pldw\t%a0",
+ "pld\t%a0"
)
:: "p" (ptr));
}
#endif
#endif
-
-#define HAVE_ARCH_PICK_MMAP_LAYOUT
#endif
--
Gitblit v1.6.2