mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
efi/cper, cxl: Remove cper_cxl.h
Move the declaration of cxl_cper_print_prot_err() to include/linux/cper.h to avoid maintaining a separate header file just for this function declaration. Remove drivers/firmware/efi/cper_cxl.h as its contents have been reorganized. No functional changes. Signed-off-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Reviewed-by: Gregory Price <gourry@gourry.net> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Link: https://patch.msgid.link/20250123084421.127697-4-Smita.KoralahalliChannabasappa@amd.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
This commit is contained in:
parent
958c3a6706
commit
61eac5f7f6
4 changed files with 4 additions and 18 deletions
|
@ -25,7 +25,6 @@
|
|||
#include <acpi/ghes.h>
|
||||
#include <ras/ras_event.h>
|
||||
#include <cxl/event.h>
|
||||
#include "cper_cxl.h"
|
||||
|
||||
/*
|
||||
* CPER record ID need to be unique even after reboot, because record
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include <linux/cper.h>
|
||||
#include <cxl/event.h>
|
||||
#include "cper_cxl.h"
|
||||
|
||||
static const char * const prot_err_agent_type_strs[] = {
|
||||
"Restricted CXL Device",
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* UEFI Common Platform Error Record (CPER) support for CXL Section.
|
||||
*
|
||||
* Copyright (C) 2022 Advanced Micro Devices, Inc.
|
||||
*
|
||||
* Author: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
|
||||
*/
|
||||
|
||||
#ifndef LINUX_CPER_CXL_H
|
||||
#define LINUX_CPER_CXL_H
|
||||
|
||||
void cxl_cper_print_prot_err(const char *pfx,
|
||||
const struct cxl_cper_sec_prot_err *prot_err);
|
||||
|
||||
#endif //__CPER_CXL_
|
|
@ -605,4 +605,8 @@ void cper_estatus_print(const char *pfx,
|
|||
int cper_estatus_check_header(const struct acpi_hest_generic_status *estatus);
|
||||
int cper_estatus_check(const struct acpi_hest_generic_status *estatus);
|
||||
|
||||
struct cxl_cper_sec_prot_err;
|
||||
void cxl_cper_print_prot_err(const char *pfx,
|
||||
const struct cxl_cper_sec_prot_err *prot_err);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue