drivers/cxl/core/mce.h

Source file repositories/reference/linux-study-clean/drivers/cxl/core/mce.h

File Facts

System
Linux kernel
Corpus path
drivers/cxl/core/mce.h
Extension
.h
Size
472 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/cxl
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#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

Annotation

Implementation Notes