Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c43846a9 authored by Mark Hounschell's avatar Mark Hounschell Committed by Greg Kroah-Hartman
Browse files

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: default avatarMark Hounschell <markh@compro.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8cdd7639
Loading
Loading
Loading
Loading
+222 −220

File changed.

Preview size limit exceeded, changes collapsed.

+0 −7
Original line number Original line Diff line number Diff line
@@ -194,13 +194,6 @@ typedef unsigned char uchar;


#define VPDSIZE (512)
#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
 *      FEP memory offsets
 ************************************************************************/
 ************************************************************************/