Subject: Undeclared atomic_lock in 2.6

From: Yoichi Yuasa <[email-masked]>
Date: Tue, 9 Dec 2003 12:02:43 +0900

Hi,

The "atomic_lock" is undeclared in 2.6.

include/asm/atomic.h:156: error: `atomic_lock' undeclared (first use in this function)
include/asm/atomic.h:156: error: (Each undeclared identifier is reported only once
include/asm/atomic.h:156: error: for each function it appears in.)

Where should it be declared?

Yoichi