2013-03-10 15:30:27

by Thomas Meyer

[permalink] [raw]
Subject: lock() -> Where is this defined?

Hi,

in include/linux/lockdep.h:

#define LOCK_CONTENDED(_lock, try, lock) \
lock(_lock)

Where is this lock() function defined?



2013-03-10 15:43:29

by Steven Rostedt

[permalink] [raw]
Subject: Re: lock() -> Where is this defined?

On Sun, Mar 10, 2013 at 04:30:20PM +0100, Thomas Meyer wrote:
> Hi,
>
> in include/linux/lockdep.h:
>
> #define LOCK_CONTENDED(_lock, try, lock) \
^
|
here

-- Steve

> lock(_lock)
>
> Where is this lock() function defined?
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/