From 95099d4622f8cb224d94e314c7a8e0df60b13f87 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 08:38:01 +0000
Subject: [PATCH] enable docker ppp
---
kernel/arch/x86/um/asm/processor_32.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/kernel/arch/x86/um/asm/processor_32.h b/kernel/arch/x86/um/asm/processor_32.h
index c112de8..5fb1b84 100644
--- a/kernel/arch/x86/um/asm/processor_32.h
+++ b/kernel/arch/x86/um/asm/processor_32.h
@@ -47,14 +47,6 @@
memcpy(&to->tls_array, &from->tls_array, sizeof(from->tls_array));
}
-/*
- * Default implementation of macro that returns current
- * instruction pointer ("program counter"). Stolen
- * from asm-i386/processor.h
- */
-#define current_text_addr() \
- ({ void *pc; __asm__("movl $1f,%0\n1:":"=g" (pc)); pc; })
-
#define current_sp() ({ void *sp; __asm__("movl %%esp, %0" : "=r" (sp) : ); sp; })
#define current_bp() ({ unsigned long bp; __asm__("movl %%ebp, %0" : "=r" (bp) : ); bp; })
--
Gitblit v1.6.2