2 * Copyright 2003 PathScale, Inc.
4 * Licensed under the GPL
7 #ifndef __UM_PROCESSOR_X86_64_H
8 #define __UM_PROCESSOR_X86_64_H
10 #include "asm/arch/user.h"
15 #define INIT_ARCH_THREAD { }
17 #define current_text_addr() \
18 ({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; })
20 #define ARCH_IS_STACKGROW(address) \
21 (address + 128 >= UPT_SP(¤t->thread.regs.regs))
23 #include "asm/processor-generic.h"
28 * Overrides for Emacs so that we follow Linus's tabbing style.
29 * Emacs will notice this stuff at the end of the file and automatically
30 * adjust the settings for this buffer only. This must remain at the end
32 * ---------------------------------------------------------------------------
34 * c-file-style: "linux"