From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 03 Sep 2004 17:21:57 +0000 Subject: Re: export of SEQNUM to userspace Message-Id: <20040903172156.GA11667@kroah.com> List-Id: References: <20040829203523.GA15526@vrfy.org> In-Reply-To: <20040829203523.GA15526@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Sep 03, 2004 at 03:49:18PM +0200, Kay Sievers wrote: > Oops, too fast. New patch. Forgot the unusal CONFIG_* combinations. > > !CONFIG_SYSFS goes with: > obj-$(CONFIG_SYSFS) += ksysfs.o > > and > !CONFIG_HOTPLUG needs the ifdef's in ksysfs.c and kobject.h or is > there any better way? > > Tested compilation of all four combinations and booted with: > CONFIG_SYSFS + !CONFIG_HOTPLUG. Hm, we also need to change this: > - seq = sequence_num++; > + seq = hotplug_seqnum++; To this: seq = ++hotplug_seqnum; to show the last used sequence number. I'll make that change and test out the different config options. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47&alloc_id808&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel