FILE
mce.h
File preview with syntax highlighting.
linux-6.19.14/drivers/cxl/core/mce.h
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* Copyright(c) 2024 Intel Corporation. All rights reserved. */ 3#ifndef _CXL_CORE_MCE_H_ 4#define _CXL_CORE_MCE_H_ 5 6#include <linux/notifier.h> 7 8#ifdef CONFIG_CXL_MCE 9int devm_cxl_register_mce_notifier(struct device *dev, 10 struct notifier_block *mce_notifier); 11#else 12static inline int 13devm_cxl_register_mce_notifier(struct device *dev, 14 struct notifier_block *mce_notifier) 15{ 16 return -EOPNOTSUPP; 17} 18#endif 19 20#endif
~/
Read-only file preview.