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 ({ int dummy; \
20 ((struct thread_info *) CURRENT_THREAD(dummy))->task; })
22 #endif /* __ASSEMBLY__ */
27 * Overrides for Emacs so that we follow Linus's tabbing style.
28 * Emacs will notice this stuff at the end of the file and automatically
29 * adjust the settings for this buffer only. This must remain at the end
31 * ---------------------------------------------------------------------------
33 * c-file-style: "linux"