Message ID | 1523442286-11714-1-git-send-email-vincenzo.frascino@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
(nit: missing PATCH in the $subject, also cc maintainers, you can use scripts/maintainers.pl to get the list) On 11/04/18 11:24, Vincenzo Frascino wrote: > In armv8_deprecated asm/cpufeature.h has been included twice. > > This patch removes the double inclusion. > While at this, can you fix other instances too: arch/arm64/include/asm/kvm_mmu.h: asm/cpufeature.h arch/arm64/kernel/fpsimd.c: linux/prctl.h arch/arm64/kernel/ptrace.c: linux/compat.h
On 04/11/2018 11:54 AM, Sudeep Holla wrote: > While at this, can you fix other instances too: > arch/arm64/include/asm/kvm_mmu.h: asm/cpufeature.h > arch/arm64/kernel/fpsimd.c: linux/prctl.h > arch/arm64/kernel/ptrace.c: linux/compat.h > Ok, I will do in the next version. Regards, Vincenzo IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
diff --git a/arch/arm64/kernel/armv8_deprecated.c b/arch/arm64/kernel/armv8_deprecated.c index c33b5e4..b3b6d7a 100644 --- a/arch/arm64/kernel/armv8_deprecated.c +++ b/arch/arm64/kernel/armv8_deprecated.c @@ -13,6 +13,7 @@ #include <linux/sched.h> #include <linux/slab.h> #include <linux/sysctl.h> +#include <linux/uaccess.h> #include <asm/cpufeature.h> #include <asm/insn.h> @@ -20,8 +21,6 @@ #include <asm/system_misc.h> #include <asm/traps.h> #include <asm/kprobes.h> -#include <linux/uaccess.h> -#include <asm/cpufeature.h> #define CREATE_TRACE_POINTS #include "trace-events-emulation.h"
In armv8_deprecated asm/cpufeature.h has been included twice. This patch removes the double inclusion. Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> --- arch/arm64/kernel/armv8_deprecated.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)