linux/lib/math/int_log.c

// SPDX-License-Identifier: LGPL-2.1-or-later
/*
 * Provides fixed-point logarithm operations.
 *
 * Copyright (C) 2006 Christoph Pfister ([email protected])
 */

#include <linux/bitops.h>
#include <linux/export.h>
#include <linux/int_log.h>
#include <linux/kernel.h>
#include <linux/types.h>

#include <asm/bug.h>

static const unsigned short logtable[256] =;

unsigned int intlog2(u32 value)
{}
EXPORT_SYMBOL();

unsigned int intlog10(u32 value)
{}
EXPORT_SYMBOL();