forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/acpi/nfit/mce.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * NFIT - Machine Check Handler
34 *
45 * Copyright(c) 2013-2016 Intel Corporation. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of version 2 of the GNU General Public License as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful, but
11
- * WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * General Public License for more details.
146 */
157 #include <linux/notifier.h>
168 #include <linux/acpi.h>
....@@ -84,6 +76,7 @@
8476 */
8577 acpi_nfit_ars_rescan(acpi_desc, 0);
8678 }
79
+ mce->kflags |= MCE_HANDLED_NFIT;
8780 break;
8881 }
8982