forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/x86/platform/sfi/sfi.c
....@@ -1,21 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * sfi.c - x86 architecture SFI support.
34 *
45 * Copyright (c) 2009, Intel Corporation.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms and conditions of the GNU General Public License,
8
- * version 2, as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
14
- *
15
- * You should have received a copy of the GNU General Public License along with
16
- * this program; if not, write to the Free Software Foundation, Inc.,
17
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
18
- *
196 */
207
218 #define KMSG_COMPONENT "SFI"
....@@ -39,8 +26,7 @@
3926 static void __init mp_sfi_register_lapic(u8 id)
4027 {
4128 if (MAX_LOCAL_APIC - id <= 0) {
42
- pr_warning("Processor #%d invalid (max %d)\n",
43
- id, MAX_LOCAL_APIC);
29
+ pr_warn("Processor #%d invalid (max %d)\n", id, MAX_LOCAL_APIC);
4430 return;
4531 }
4632