From 5077c2a9cd43e8db71f8257e745e1d27e7b79d3f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 18 Aug 2008 00:19:01 -0400 Subject: [PATCH] x86, um: get rid of more uml asm/arch uses Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- arch/um/include/asm/processor-i386.h | 2 +- arch/um/include/asm/processor-x86_64.h | 2 +- arch/um/include/asm/ptrace-generic.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/um/include/asm/processor-i386.h b/arch/um/include/asm/processor-i386.h index a2b7fe13fe1..4f8be006363 100644 --- a/arch/um/include/asm/processor-i386.h +++ b/arch/um/include/asm/processor-i386.h @@ -48,7 +48,7 @@ static inline void arch_copy_thread(struct arch_thread *from, memcpy(&to->tls_array, &from->tls_array, sizeof(from->tls_array)); } -#include "asm/arch/user.h" +#include /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ static inline void rep_nop(void) diff --git a/arch/um/include/asm/processor-x86_64.h b/arch/um/include/asm/processor-x86_64.h index e50933175e9..875a26a6261 100644 --- a/arch/um/include/asm/processor-x86_64.h +++ b/arch/um/include/asm/processor-x86_64.h @@ -40,7 +40,7 @@ static inline void arch_copy_thread(struct arch_thread *from, to->fs = from->fs; } -#include "asm/arch/user.h" +#include #define current_text_addr() \ ({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; }) diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h index 315749705ea..6c8899013c9 100644 --- a/arch/um/include/asm/ptrace-generic.h +++ b/arch/um/include/asm/ptrace-generic.h @@ -8,7 +8,7 @@ #ifndef __ASSEMBLY__ -#include "asm/arch/ptrace-abi.h" +#include #include #include "sysdep/ptrace.h" -- 2.41.1