提交 5077c2a9 编写于 作者: A Al Viro 提交者: H. Peter Anvin

x86, um: get rid of more uml asm/arch uses

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
上级 7127da4e
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册