linux/drivers/dax/hmem/device.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/platform_device.h>
#include <linux/memregion.h>
#include <linux/module.h>
#include <linux/dax.h>
#include <linux/mm.h>

static bool nohmem;
module_param_named(disable, nohmem, bool, 0444);

static bool platform_initialized;
static DEFINE_MUTEX(hmem_resource_lock);
static struct resource hmem_active =;

int walk_hmem_resources(struct device *host, walk_hmem_fn fn)
{}
EXPORT_SYMBOL_GPL();

static void __hmem_register_resource(int target_nid, struct resource *res)
{}

void hmem_register_resource(int target_nid, struct resource *res)
{}

static __init int hmem_register_one(struct resource *res, void *data)
{}

static __init int hmem_init(void)
{}

/*
 * As this is a fallback for address ranges unclaimed by the ACPI HMAT
 * parsing it must be at an initcall level greater than hmat_init().
 */
device_initcall(hmem_init);