Skip to contentSkip to conversation

alpha-use-generic-currenth.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 27, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: alpha: use generic current.h
has been removed from the -mm tree. Its filename was
alpha-use-generic-currenth.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Davidlohr Bueso <[email protected]>
Subject: 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.

---

 arch/alpha/include/asm/Kbuild    |    1 +
 arch/alpha/include/asm/current.h |    9 ---------
 2 files changed, 1 insertion(+), 9 deletions(-)
arch/alpha/include/asm/Kbuild renamed from arch/alpha/include/asm/Kbuild~alpha-use-generic-currenth +1 -0
diff -puN arch/alpha/include/asm/Kbuild~alpha-use-generic-currenth arch/alpha/include/asm/Kbuild
@@ -9,3 +9,4 @@ generic-y += mm-arch-hooks.h
 generic-y += preempt.h
 generic-y += sections.h
 generic-y += trace_clock.h
+generic-y += current.h
arch/alpha/include/asm/current.h deleted +0 -7
diff -puN arch/alpha/include/asm/current.h~alpha-use-generic-currenth /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()