summaryrefslogtreecommitdiff
path: root/arch/alpha/include/asm/current.h
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2017-02-24 15:00:14 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-24 17:46:56 -0800
commit35ca6953cac4a6d92c2d54e946a4e153d944b027 (patch)
tree1c97c9f38c20ce5a103772350543a4e5c70ba37d /arch/alpha/include/asm/current.h
parent9ef5ea20134e72689b9877e787fa84ab67d77cc5 (diff)
alpha: use generic current.h
Given that the arch does not add its own implementations, simply use the asm-generic/current.h (generic-y) header instead of duplicating code. Link: http://lkml.kernel.org/r/1485992878-4780-2-git-send-email-dave@stgolabs.net Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/include/asm/current.h')
-rw-r--r--arch/alpha/include/asm/current.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/alpha/include/asm/current.h b/arch/alpha/include/asm/current.h
deleted file mode 100644
index 094d285a1b34..000000000000
--- a/arch/alpha/include/asm/current.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _ALPHA_CURRENT_H
-#define _ALPHA_CURRENT_H
-
-#include <linux/thread_info.h>
-
-#define get_current() (current_thread_info()->task)
-#define current get_current()
-
-#endif /* _ALPHA_CURRENT_H */