2 * This confidential and proprietary software may be used only as
3 * authorised by a licensing agreement from ARM Limited
4 * (C) COPYRIGHT 2008-2010, 2013-2014 ARM Limited
6 * The entire notice above must be reproduced on all authorised
7 * copies and copies may only be made to the extent permitted
8 * by a licensing agreement from ARM Limited.
12 * @file mali_osk_math.c
13 * Implementation of the OS abstraction layer for the kernel device driver
17 #include <linux/bitops.h>
19 u32 _mali_osk_clz(u32 input)
21 return 32 - fls(input);
24 u32 _mali_osk_fls(u32 input)