mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 19:59:34 -04:00
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:
committed by
Greg Kroah-Hartman
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
|
||||
************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user