mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
crash_dump: remove duplicate include in crash_dump.h
JIRA: https://issues.redhat.com/browse/RHEL-32199 Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git commit a10677a028b853c25054a4b8be04013ccb55682f Author: Ye Guojin <ye.guojin@zte.com.cn> Date: Mon Nov 8 18:35:10 2021 -0800 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/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> Signed-off-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user