1 /* 2 * 3 * (C) COPYRIGHT 2010-2014 ARM Limited. All rights reserved. 4 * 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 8 * of such GNU licence. 9 * 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. 13 * 14 */ 15 16 17 18 19 20 /** 21 * @file mali_kbase_linux.h 22 * Base kernel APIs, Linux implementation. 23 */ 24 25 #ifndef _KBASE_LINUX_H_ 26 #define _KBASE_LINUX_H_ 27 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> 34 35 #if (defined(MALI_KERNEL_TEST_API) && (1 == MALI_KERNEL_TEST_API)) 36 #define KBASE_EXPORT_TEST_API(func) EXPORT_SYMBOL(func) 37 #else 38 #define KBASE_EXPORT_TEST_API(func) 39 #endif 40 41 #define KBASE_EXPORT_SYMBOL(func) EXPORT_SYMBOL(func) 42 43 #endif /* _KBASE_LINUX_H_ */ 44