Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594690

[PATCHv3 10/16] bpf: Use set_memory.h header

From Laura Abbott <labbott@redhat.com>
Newsgroups linux.kernel
Subject [PATCHv3 10/16] bpf: Use set_memory.h header
Date 2017-03-07 23:00 +0100
Message-ID <tivjd-5f8-41@gated-at.bofh.it> (permalink)
References <tiun8-4vP-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


set_memory_* functions have moved to set_memory.h. Switch to this
explicitly.

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Laura Abbott <labbott@redhat.com>
---
v3: #ifdef guard
---
 include/linux/filter.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/linux/filter.h b/include/linux/filter.h
index 0c167fd..8053c38 100644
--- a/include/linux/filter.h
+++ b/include/linux/filter.h
@@ -18,7 +18,9 @@
 
 #include <net/sch_generic.h>
 
-#include <asm/cacheflush.h>
+#ifdef CONFIG_ARCH_HAS_SET_MEMORY
+#include <asm/set_memory.h>
+#endif
 
 #include <uapi/linux/filter.h>
 #include <uapi/linux/bpf.h>
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCHv3 00/16] set_memory_* functions header refactor Laura Abbott <labbott@redhat.com> - 2017-03-07 22:30 +0100
  [PATCHv3 07/16] drm: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 22:30 +0100
  [PATCHv3 05/16] x86: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 22:30 +0100
  [PATCHv3 08/16] intel_th: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:00 +0100
  [PATCHv3 13/16] ALSA: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:00 +0100
  [PATCHv3 10/16] bpf: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:00 +0100
  [PATCHv3 03/16] arm64: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:10 +0100
  [PATCHv3 04/16] s390: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-07 23:40 +0100
  [PATCHv3 02/16] arm: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 00:00 +0100
  [PATCHv3 09/16] watchdog: hpwdt: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 00:00 +0100
  [PATCHv3 06/16] agp: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 00:50 +0100
  [PATCHv3 12/16] PM / hibernate: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 01:00 +0100
  [PATCHv3 14/16] misc: sram: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 01:20 +0100
  [PATCHv3 01/16] treewide: Move set_memory_* functions away from cacheflush.h Laura Abbott <labbott@redhat.com> - 2017-03-08 02:10 +0100
  [PATCHv3 11/16] module: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-08 05:40 +0100

csiph-web