2020-05-07 13:17:44

by chenzhou

[permalink] [raw]
Subject: [PATCH -next] kernel.h: remove duplicate headers

Remove duplicate headers which are included twice.

Signed-off-by: Chen Zhou <[email protected]>
---
include/linux/kernel.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 04a5885cec1b..12fe1afebfd9 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -17,7 +17,6 @@
#include <asm/byteorder.h>
#include <asm/div64.h>
#include <uapi/linux/kernel.h>
-#include <asm/div64.h>

#define STACK_MAGIC 0xdeadbeef

--
2.20.1


2020-05-07 13:39:45

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [PATCH -next] kernel.h: remove duplicate headers

On Thu, May 07, 2020 at 09:16:08PM +0800, Chen Zhou wrote:
> Remove duplicate headers which are included twice.

Thanks, this is included in my patch set to split out some parts of this header
to new headers.

(It basically removes all occurrences of div64.h)

--
With Best Regards,
Andy Shevchenko