From: Roland Dreier Date: Tue, 10 Apr 2007 21:13:02 +0000 Subject: Re: [KJ] remove SPIN_LOCK_UNLOCKED Message-Id: List-Id: References: <20070410181654.GA10525@arun.site> In-Reply-To: (Jan Engelhardt's message of "Tue, 10 Apr 2007 22:50:28 +0200 (MEST)") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jan Engelhardt Cc: Milind Arun Choudhary , kernel-janitors@lists.osdl.org, kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org > Fact is, we cannot remove SPIN_LOCK_UNLOCKED. It's needed for > variables outside functions: > > static spinlock_t foobar = SPIN_LOCK_UNLOCKED; DEFINE_SPINLOCK() is provided to define variables that way. - R. _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors