Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1591112
| From | Mark Rutland <mark.rutland@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv2 03/14] arm64: Use set_memory.h header |
| Date | 2017-03-02 15:10 +0100 |
| Message-ID | <tgzAB-3lq-9@gated-at.bofh.it> (permalink) |
| References | <tgmDn-2sk-3@gated-at.bofh.it> <tgn6q-2E1-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Mar 01, 2017 at 04:14:55PM -0800, Laura Abbott wrote:
>
> The set_memory_* functions have moved to set_memory.h. Use that header
> explicitly.
>
> Signed-off-by: Laura Abbott <labbott@redhat.com>
> ---
> arch/arm64/mm/pageattr.c | 1 +
> arch/arm64/net/bpf_jit_comp.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm64/mm/pageattr.c b/arch/arm64/mm/pageattr.c
> index 8def55e..12ab86d 100644
> --- a/arch/arm64/mm/pageattr.c
> +++ b/arch/arm64/mm/pageattr.c
> @@ -18,6 +18,7 @@
>
> #include <asm/pgtable.h>
> #include <asm/tlbflush.h>
> +#include <asm/set_memory.h>
Nit: alphabetical order, please.
>
> struct page_change_data {
> pgprot_t set_mask;
> diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c
> index a785554..84e4a91 100644
> --- a/arch/arm64/net/bpf_jit_comp.c
> +++ b/arch/arm64/net/bpf_jit_comp.c
> @@ -26,6 +26,7 @@
>
> #include <asm/byteorder.h>
> #include <asm/cacheflush.h>
> +#include <asm/set_memory.h>
> #include <asm/debug-monitors.h>
Nit: likewise.
Otherwise, this looks fine to me. FWIW:
Acked-by: Mark Rutland <mark.rutland@arm.com>
Mark.
>
> #include "bpf_jit.h"
> --
> 2.7.4
>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHv2 03/14] arm64: Use set_memory.h header Laura Abbott <labbott@redhat.com> - 2017-03-02 01:50 +0100 Re: [PATCHv2 03/14] arm64: Use set_memory.h header Mark Rutland <mark.rutland@arm.com> - 2017-03-02 15:10 +0100 Re: [PATCHv2 03/14] arm64: Use set_memory.h header Catalin Marinas <catalin.marinas@arm.com> - 2017-03-02 16:10 +0100
csiph-web