linux/lib/percpu_test.c

// SPDX-License-Identifier: GPL-2.0-only
#include <linux/module.h>

/* validate @native and @pcp counter values match @expected */
#define CHECK(native, pcp, expected)

static DEFINE_PER_CPU(long, long_counter);
static DEFINE_PER_CPU(unsigned long, ulong_counter);

static int __init percpu_test_init(void)
{}

static void __exit percpu_test_exit(void)
{}

module_init(percpu_test_init)
module_exit(percpu_test_exit)

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();