This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / asm-um / processor-x86_64.h
1 /*
2  * Copyright 2003 PathScale, Inc.
3  *
4  * Licensed under the GPL
5  */
6
7 #ifndef __UM_PROCESSOR_X86_64_H
8 #define __UM_PROCESSOR_X86_64_H
9
10 #include "asm/arch/user.h"
11
12 struct arch_thread {
13 };
14
15 #define INIT_ARCH_THREAD { }
16
17 #define current_text_addr() \
18         ({ void *pc; __asm__("movq $1f,%0\n1:":"=g" (pc)); pc; })
19
20 #define ARCH_IS_STACKGROW(address) \
21         (address + 128 >= UPT_SP(&current->thread.regs.regs))
22
23 #include "asm/processor-generic.h"
24
25 #endif
26
27 /*
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
31  * of the file.
32  * ---------------------------------------------------------------------------
33  * Local variables:
34  * c-file-style: "linux"
35  * End:
36  */