mirror of
https://github.com/torvalds/linux.git
synced 2025-08-15 14:11:42 +02:00

According to the context, "mce_notifer" should be "mce_notifier".
Link: https://lkml.kernel.org/r/E1EB1BA9FDF07D53+20250722073431.21983-2-wangyuli@uniontech.com
Fixes: 516e5bd0b6
("cxl: Add mce notifier to emit aliased address for extended linear cache")
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
20 lines
472 B
C
20 lines
472 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright(c) 2024 Intel Corporation. All rights reserved. */
|
|
#ifndef _CXL_CORE_MCE_H_
|
|
#define _CXL_CORE_MCE_H_
|
|
|
|
#include <linux/notifier.h>
|
|
|
|
#ifdef CONFIG_CXL_MCE
|
|
int devm_cxl_register_mce_notifier(struct device *dev,
|
|
struct notifier_block *mce_notifier);
|
|
#else
|
|
static inline int
|
|
devm_cxl_register_mce_notifier(struct device *dev,
|
|
struct notifier_block *mce_notifier)
|
|
{
|
|
return -EOPNOTSUPP;
|
|
}
|
|
#endif
|
|
|
|
#endif
|