Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755015AbYGVVtk (ORCPT ); Tue, 22 Jul 2008 17:49:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752182AbYGVVtb (ORCPT ); Tue, 22 Jul 2008 17:49:31 -0400 Received: from ns1.suse.de ([195.135.220.2]:45792 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751882AbYGVVta (ORCPT ); Tue, 22 Jul 2008 17:49:30 -0400 Date: Tue, 22 Jul 2008 14:19:19 -0700 From: Greg KH To: Andrew Morton Cc: linux-kernel@vger.kernel.org, andi@firstfloor.org, ak@linux.intel.com, mingo@elte.hu, tiwai@suse.de, linux-next@vger.kernel.org Subject: Re: [PATCH 72/79] sysdev: Pass the attribute to the low level sysdev show/store function Message-ID: <20080722211919.GA5669@suse.de> References: <20080722051805.GA17373@suse.de> <1216703983-21448-72-git-send-email-gregkh@suse.de> <20080722134045.7f09ff29.akpm@linux-foundation.org> <20080722204939.GA3028@suse.de> <20080722140301.2a334f8c.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080722140301.2a334f8c.akpm@linux-foundation.org> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2612 Lines: 62 On Tue, Jul 22, 2008 at 02:03:01PM -0700, Andrew Morton wrote: > On Tue, 22 Jul 2008 13:49:39 -0700 > Greg KH wrote: > > > On Tue, Jul 22, 2008 at 01:40:45PM -0700, Andrew Morton wrote: > > > On Mon, 21 Jul 2008 22:19:36 -0700 > > > Greg Kroah-Hartman wrote: > > > > > > > From: Andi Kleen > > > > > > > > This allow to dynamically generate attributes and share show/store > > > > functions between attributes. Right now most attributes are generated > > > > by special macros and lots of duplicated code. With the attribute > > > > passed it's instead possible to attach some data to the attribute > > > > and then use that in shared low level functions to do different things. > > > > > > > > I need this for the dynamically generated bank attributes in the x86 > > > > machine check code, but it'll allow some further cleanups. > > > > > > > > I converted all users in tree to the new show/store prototype. It's a single > > > > huge patch to avoid unbisectable sections. > > > > > > > > Runtime tested: x86-32, x86-64 > > > > Compiled only: ia64, powerpc > > > > Not compile tested/only grep converted: sh, arm, avr32 > > > > > > > > Signed-off-by: Andi Kleen > > > > Signed-off-by: Greg Kroah-Hartman > > > > > > > > ... > > > > > > > > kernel/sched.c | 8 ++++- > > > > > > This wrecks use-sysdev_class-in-schedc.patch (below), which I merged a > > > week ago and will now drop. > > > > > > Why did this patch from Andi just turn up in linux-next now, halfway > > > through the merge window? It has a commit date of July 1 yet it has > > > never before been sighted in linux-next. > > > > What? It's been in linux-next for a while now as it's been in my tree > > for quite some time. Unless it somehow got reverted in -next and I > > didn't realize it? Which I kind of doubt as it was causing problems > > with the sparc build and I got reports of that. > > > > This should be a simple merge, the show/store functions of sysdev now > > just got an additional parameter, like we've done for a while with other > > types of attributes. > > > > Well the changelog for yesterday's linux-next lists this change, but > the diff to kernel/sched.c (below) does not contain it. No idea what > caused that. Andi any thoughts? -- 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/