From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/kernel/crash_dump.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/kernel/kernel/crash_dump.c b/kernel/kernel/crash_dump.c index b64e238..92da322 100644 --- a/kernel/kernel/crash_dump.c +++ b/kernel/kernel/crash_dump.c @@ -1,14 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only #include <linux/kernel.h> #include <linux/crash_dump.h> #include <linux/init.h> #include <linux/errno.h> #include <linux/export.h> - -/* - * If we have booted due to a crash, max_pfn will be a very low value. We need - * to know the amount of memory that the previous kernel used. - */ -unsigned long saved_max_pfn; /* * stores the physical address of elf header of crash image -- Gitblit v1.6.2