Staging: sep: kill lock wrapper
We don't need wrappers for this so clean them up Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2f82614ca5
commit
8407248231
|
@ -287,24 +287,6 @@ static int sep_lock_user_pages(unsigned long app_virt_addr, unsigned long data_s
|
||||||
FUNCTIONS
|
FUNCTIONS
|
||||||
-----------------------------------------------*/
|
-----------------------------------------------*/
|
||||||
|
|
||||||
/*
|
|
||||||
this function locks SEP by locking the semaphore
|
|
||||||
*/
|
|
||||||
int sep_lock()
|
|
||||||
{
|
|
||||||
mutex_lock(&sep_mutex);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
this function unlocks SEP
|
|
||||||
*/
|
|
||||||
void sep_unlock()
|
|
||||||
{
|
|
||||||
/* release mutex */
|
|
||||||
mutex_unlock(&sep_mutex);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
this function returns the address of the message shared area
|
this function returns the address of the message shared area
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue