2 * This confidential and proprietary software may be used only as
3 * authorised by a licensing agreement from ARM Limited
4 * (C) COPYRIGHT 2009-2010, 2013-2015 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 ump_osk_misc.c
13 * Implementation of the OS abstraction layer for the UMP kernel device driver
19 #include <linux/kernel.h>
20 #include "ump_kernel_linux.h"
22 /* is called from ump_kernel_constructor in common code */
23 _mali_osk_errcode_t
_ump_osk_init(void)
25 if (0 != ump_kernel_device_initialize()) {
26 return _MALI_OSK_ERR_FAULT
;
29 return _MALI_OSK_ERR_OK
;
32 _mali_osk_errcode_t
_ump_osk_term(void)
34 ump_kernel_device_terminate();
35 return _MALI_OSK_ERR_OK
;