x86, um: get rid of more uml asm/arch uses
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
7127da4ee4
commit
5077c2a9cd
@ -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 <asm/user.h>
|
||||
|
||||
/* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
|
||||
static inline void rep_nop(void)
|
||||
|
@ -40,7 +40,7 @@ static inline void arch_copy_thread(struct arch_thread *from,
|
||||
to->fs = from->fs;
|
||||
}
|
||||
|
||||
#include "asm/arch/user.h"
|
||||
#include <asm/user.h>
|
||||
|
||||
#define current_text_addr() \
|
||||
({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; })
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include "asm/arch/ptrace-abi.h"
|
||||
#include <asm/ptrace-abi.h>
|
||||
#include <asm/user.h>
|
||||
#include "sysdep/ptrace.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user