summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_math.h
blob: 564fd585c6a00234790c251c44083541f752bdcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Copyright (c) 2020 Western Digital Corporation or its affiliates.
 *
 * Authors:
 *   Atish Patra <atish.patra@wdc.com>
 */

#ifndef __SBI_MATH_H__
#define __SBI_MATH_H__

unsigned long log2roundup(unsigned long x);

#endif