Skip to content

Commit

Permalink
x86, um: get rid of more uml asm/arch uses
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Al Viro authored and H. Peter Anvin committed Oct 23, 2008
1 parent 7127da4 commit 5077c2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/um/include/asm/processor-i386.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion arch/um/include/asm/processor-x86_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; })
Expand Down
2 changes: 1 addition & 1 deletion arch/um/include/asm/ptrace-generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5077c2a

Please sign in to comment.