mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
a5a678c80b
Tidy current-related stuff. There was a comment in current.h saying that current_thread was obsolete, so this patch turns all instances of current_thread into current_thread_info(). There's some simplifying of the result in arch/um/sys-i386/signal.c. current.h and thread_info also get style cleanups. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14 lines
240 B
C
14 lines
240 B
C
/*
|
|
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __UM_CURRENT_H
|
|
#define __UM_CURRENT_H
|
|
|
|
#include "linux/thread_info.h"
|
|
|
|
#define current (current_thread_info()->task)
|
|
|
|
#endif
|