Re: [PATCH] remove genhd.h from header exports

From: Jeff Garzik
Date: Tue Aug 07 2007 - 15:01:45 EST


Olaf Hering wrote:
remove linux/genhd.h from make headers_install

It contains no userinterfaces, only the msdos partition table layout and some
numbers. And it became finally unusable with the CONFIG_BLOCK addition.

Remove it from the Kconfig list, and remove the __KERNEL__ checks.
Move #include block up
remove unused inclusion of linux/major.h

compile tested with ppc64_defconfig


Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

AFAICS the proper fix is to undo the CONFIG_BLOCK breakage, not make the header unusable.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/