3 * (C) COPYRIGHT 2010-2014 ARM Limited. All rights reserved.
5 * This program is free software and is provided to you under the terms of the
6 * GNU General Public License version 2 as published by the Free Software
7 * Foundation, and any use by you of this program is subject to the terms
10 * A copy of the licence is included with the program, and can also be obtained
11 * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12 * Boston, MA 02110-1301, USA.
21 * @file mali_kbase_linux.h
22 * Base kernel APIs, Linux implementation.
25 #ifndef _KBASE_LINUX_H_
26 #define _KBASE_LINUX_H_
28 /* All things that are needed for the Linux port. */
29 #include <linux/platform_device.h>
30 #include <linux/miscdevice.h>
31 #include <linux/list.h>
32 #include <linux/module.h>
33 #include <linux/atomic.h>
35 #if (defined(MALI_KERNEL_TEST_API) && (1 == MALI_KERNEL_TEST_API))
36 #define KBASE_EXPORT_TEST_API(func) EXPORT_SYMBOL(func)
38 #define KBASE_EXPORT_TEST_API(func)
41 #define KBASE_EXPORT_SYMBOL(func) EXPORT_SYMBOL(func)
43 #endif /* _KBASE_LINUX_H_ */