linux/lib/test_bitops.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2020 Intel Corporation
 */

#define pr_fmt(fmt)

#include <linux/cleanup.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/slab.h>

/* a tiny module only meant to test
 *
 *   set/clear_bit
 *   get_count_order/long
 */

/* use an enum because that's the most common BITMAP usage */
enum bitops_fun {};

static DECLARE_BITMAP(g_bitmap, BITOPS_LENGTH);

static unsigned int order_comb[][2] =;

#ifdef CONFIG_64BIT
static unsigned long order_comb_long[][2] =;
#endif

static int __init test_fns(void)
{}

static int __init test_bitops_startup(void)
{}

static void __exit test_bitops_unstartup(void)
{}

module_init();
module_exit(test_bitops_unstartup);

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