Skip to content

Commit a10677a

Browse files
Ye Guojintorvalds
authored andcommitted
crash_dump: remove duplicate include in crash_dump.h
In crash_dump.h, header file <linux/pgtable.h> is included twice. This duplication was introduced in commit 65fddcf("mm: reorder includes after introduction of linux/pgtable.h") where the order of the header files is adjusted, while the old one was not removed. Clean it up here. Link: https://lkml.kernel.org/r/20211020090659.1038877-1-ye.guojin@zte.com.cn Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn> Reported-by: Zeal Robot <zealci@zte.com.cn> Acked-by: Baoquan He <bhe@redhat.com> Cc: Dave Young <dyoung@redhat.com> Cc: Mike Rapoport <rppt@linux.ibm.com> Cc: Vivek Goyal <vgoyal@redhat.com> Cc: Changcheng Deng <deng.changcheng@zte.com.cn> Cc: Simon Horman <horms@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5605f41 commit a10677a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/crash_dump.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#include <linux/pgtable.h>
99
#include <uapi/linux/vmcore.h>
1010

11-
#include <linux/pgtable.h> /* for pgprot_t */
12-
1311
/* For IS_ENABLED(CONFIG_CRASH_DUMP) */
1412
#define ELFCORE_ADDR_MAX (-1ULL)
1513
#define ELFCORE_ADDR_ERR (-2ULL)

0 commit comments

Comments
 (0)