aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Guojin <[email protected]>2021-11-08 18:35:10 -0800
committerLinus Torvalds <[email protected]>2021-11-09 10:02:52 -0800
commita10677a028b853c25054a4b8be04013ccb55682f (patch)
tree5a6efcd541cd4eb3c6eb6f75318f29bfd0f10933
parent5605f41917c6ad766814a8e417a4481e9157c991 (diff)
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 65fddcfca8ad("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/[email protected] Signed-off-by: Ye Guojin <[email protected]> Reported-by: Zeal Robot <[email protected]> Acked-by: Baoquan He <[email protected]> Cc: Dave Young <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Vivek Goyal <[email protected]> Cc: Changcheng Deng <[email protected]> Cc: Simon Horman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--include/linux/crash_dump.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
index 979c26176c1d..620821549b23 100644
--- a/include/linux/crash_dump.h
+++ b/include/linux/crash_dump.h
@@ -8,8 +8,6 @@
#include <linux/pgtable.h>
#include <uapi/linux/vmcore.h>
-#include <linux/pgtable.h> /* for pgprot_t */
-
/* For IS_ENABLED(CONFIG_CRASH_DUMP) */
#define ELFCORE_ADDR_MAX (-1ULL)
#define ELFCORE_ADDR_ERR (-2ULL)