| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sfi.c - x86 architecture SFI support. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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 | | - * |
|---|
| 19 | 6 | */ |
|---|
| 20 | 7 | |
|---|
| 21 | 8 | #define KMSG_COMPONENT "SFI" |
|---|
| .. | .. |
|---|
| 39 | 26 | static void __init mp_sfi_register_lapic(u8 id) |
|---|
| 40 | 27 | { |
|---|
| 41 | 28 | 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); |
|---|
| 44 | 30 | return; |
|---|
| 45 | 31 | } |
|---|
| 46 | 32 | |
|---|