The patch titled block: genhd errors when CONFIG_PROC_FS=n has been removed from the -mm tree. Its filename was fix-gregkh-driver-block-make-proc-files-seq_start-use-the-class_find_device.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: block: genhd errors when CONFIG_PROC_FS=n From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> block/genhd.c has build errors when CONFIG_PROC_FS=n, so omit some of its functions in that case. /local/linsrc/linux-next-20080523/block/genhd.c: In function 'diskstats_start': /local/linsrc/linux-next-20080523/block/genhd.c:555: error: 'find_start' undeclared (first use in this function) /local/linsrc/linux-next-20080523/block/genhd.c:555: error: (Each undeclared identifier is reported only once /local/linsrc/linux-next-20080523/block/genhd.c:555: error: for each function it appears in.) Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Jens Axboe <jens.axboe@xxxxxxxxxx> Cc: Kay Sievers <kay.sievers@xxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- block/genhd.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN block/genhd.c~fix-gregkh-driver-block-make-proc-files-seq_start-use-the-class_find_device block/genhd.c --- a/block/genhd.c~fix-gregkh-driver-block-make-proc-files-seq_start-use-the-class_find_device +++ a/block/genhd.c @@ -544,6 +544,7 @@ static struct device_type disk_type = { .release = disk_release, }; +#ifdef CONFIG_PROC_FS /* * aggregate disk stat collector. Uses the same stats that the sysfs * entries do, above, but makes them available through one seq_file. @@ -646,6 +647,7 @@ const struct seq_operations diskstats_op .stop = diskstats_stop, .show = diskstats_show }; +#endif /* CONFIG_PROC_FS */ static void media_change_notify_thread(struct work_struct *work) { _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are linux-next.patch documentation-build-source-files-in-documentation-sub-dir.patch documentation-build-source-files-in-documentation-sub-dir-disable.patch 8390-split-8390-support-into-a-pausing-and-a-non-pausing-driver-core.patch e1000e-make-e1000e-default-to-the-same-kconfig-setting-as-e1000.patch netfilter-conntrack_helper-needs-to-include-rculisth.patch git-scsi-misc-fix-scsi_dh-build-errors.patch git-unionfs.patch uwb-fix-kconfig-causing-undefined-references.patch audit-fix-kernel-doc-parameter-notation.patch cxgb3-fix-build-error-when-inet=n.patch flag-parameters-signalfd-fix.patch flag-parameters-eventfd-fix.patch bsdacct-stir-up-comments-around-acct_process.patch profile-likely-unlikely-macros.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html