Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.15 20 lines 471 B view raw
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_notifer); 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