Skip to contentSkip to conversation

bpf-use-linux-set_memoryh.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 7, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: include/linux/filter.h: use linux/set_memory.h
has been removed from the -mm tree. Its filename was
bpf-use-linux-set_memoryh.patch

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

------------------------------------------------------
From: Michael Ellerman <[email protected]>
Subject: include/linux/filter.h: use linux/set_memory.h

This header always exists, so doesn't require an ifdef around its inclusion. When CONFIG_ARCH_HAS_SET_MEMORY=y it includes the asm header, otherwise it provides empty versions of the set_memory_xx() routines.

---

 include/linux/filter.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
include/linux/filter.h renamed from include/linux/filter.h~bpf-use-linux-set_memoryh +1 -3
diff -puN include/linux/filter.h~bpf-use-linux-set_memoryh include/linux/filter.h
@@ -16,13 +16,10 @@
 #include <linux/sched.h>
 #include <linux/capability.h>
 #include <linux/cryptohash.h>
+#include <linux/set_memory.h>
 
 #include <net/sch_generic.h>
 
-#ifdef CONFIG_ARCH_HAS_SET_MEMORY
-#include <asm/set_memory.h>
-#endif