2 * Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
13 #include "linux/config.h"
16 #define CURRENT_THREAD(dummy) (((unsigned long) &dummy) & \
17 (PAGE_MASK << CONFIG_KERNEL_STACK_ORDER))
19 #define current_thread \
20 ({ int dummy; ((struct thread_info *) CURRENT_THREAD(dummy)); })
22 #define current (current_thread->task)
24 #endif /* __ASSEMBLY__ */
29 * Overrides for Emacs so that we follow Linus's tabbing style.
30 * Emacs will notice this stuff at the end of the file and automatically
31 * adjust the settings for this buffer only. This must remain at the end
33 * ---------------------------------------------------------------------------
35 * c-file-style: "linux"