linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* arm64: Remove duplicate include
@ 2018-04-11 10:24 Vincenzo Frascino
  2018-04-11 10:54 ` Sudeep Holla
  0 siblings, 1 reply; 3+ messages in thread
From: Vincenzo Frascino @ 2018-04-11 10:24 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

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"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* arm64: Remove duplicate include
  2018-04-11 10:24 arm64: Remove duplicate include Vincenzo Frascino
@ 2018-04-11 10:54 ` Sudeep Holla
  2018-04-11 11:31   ` Vincenzo Frascino
  0 siblings, 1 reply; 3+ messages in thread
From: Sudeep Holla @ 2018-04-11 10:54 UTC (permalink / raw)
  To: linux-arm-kernel

(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

-- 
Regards,
Sudeep

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arm64: Remove duplicate include
  2018-04-11 10:54 ` Sudeep Holla
@ 2018-04-11 11:31   ` Vincenzo Frascino
  0 siblings, 0 replies; 3+ messages in thread
From: Vincenzo Frascino @ 2018-04-11 11:31 UTC (permalink / raw)
  To: linux-arm-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-11 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-11 10:24 arm64: Remove duplicate include Vincenzo Frascino
2018-04-11 10:54 ` Sudeep Holla
2018-04-11 11:31   ` Vincenzo Frascino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).