Go to the documentation of this file.
6 #ifndef __UM_PROCESSOR_I386_H
7 #define __UM_PROCESSOR_I386_H
9 #include <linux/string.h>
10 #include <asm/segment.h>
28 #define INIT_ARCH_THREAD { \
29 .tls_array = { [ 0 ... GDT_ENTRY_TLS_ENTRIES - 1 ] = \
30 { .present = 0, .flushed = 0 } }, \
31 .debugregs = { [ 0 ... 7 ] = 0 }, \
33 .faultinfo = { 0, 0, 0 } \
53 #define current_text_addr() \
54 ({ void *pc; __asm__("movl $1f,%0\n1:":"=g" (pc)); pc; })