forked from Minki/linux
staging: dgap: get rid of DGAP_LOCK and DGAP_UNLOCK macros
This patch replaces the DGAP_LOCK and DGAP_UNLOCK macros with spin_lock_irqsave spin_unlock_irqrestore. Signed-off-by: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8cdd76391e
commit
c43846a91f
File diff suppressed because it is too large
Load Diff
@ -194,13 +194,6 @@ typedef unsigned char uchar;
|
||||
|
||||
#define VPDSIZE (512)
|
||||
|
||||
/*
|
||||
* Lock function/defines.
|
||||
* Makes spotting lock/unlock locations easier.
|
||||
*/
|
||||
# define DGAP_LOCK(x,y) spin_lock_irqsave(&(x), y)
|
||||
# define DGAP_UNLOCK(x,y) spin_unlock_irqrestore(&(x), y)
|
||||
|
||||
/************************************************************************
|
||||
* FEP memory offsets
|
||||
************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user