Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757431Ab0BEDHm (ORCPT ); Thu, 4 Feb 2010 22:07:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:2627 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751957Ab0BEDHl (ORCPT ); Thu, 4 Feb 2010 22:07:41 -0500 Message-ID: <4B6B8BD5.8020404@redhat.com> Date: Fri, 05 Feb 2010 11:09:09 +0800 From: Cong Wang User-Agent: Thunderbird 2.0.0.23 (X11/20091001) MIME-Version: 1.0 To: Alan Stern CC: Peter Zijlstra , "Eric W. Biederman" , Greg KH , Thomas Gleixner , Kernel development list , Tejun Heo , Miles Lane , Heiko Carstens , Benjamin Herrenschmidt , Larry Finger , Andrew Morton Subject: Re: [Patch 0/2] sysfs: fix s_active lockdep warning References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 665 Lines: 20 Alan Stern wrote: > On Thu, 4 Feb 2010, Peter Zijlstra wrote: > >> On Thu, 2010-02-04 at 11:35 -0500, Alan Stern wrote: >>> +#include >> #include >> >> should be sufficient I think. > > No, it's not. It leaves MAX_LOCK_DEPTH undeclared. Beats me why that > symbol ended up in sched.h... > because task_struct->held_locks uses it, but it seems better to move it into lockdep.h... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/