Remove <linux/genhd.h> from user-visible headers.
commita8ae50ba9336ff77d0df0943ac27b79ba0a5a521
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 12 Mar 2008 16:52:56 +0000 (12 17:52 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Mar 2008 19:34:37 +0000 (12 12:34 -0700)
tree4a8c8ea37b2c3011b553b540afe66373ebf16e2b
parent0738c4bb8f2a8bf15178f852494643b0981f578b
Remove <linux/genhd.h> from user-visible headers.

It was all wrapped in '#ifdef CONFIG_BLOCK' anyway, so userspace was
getting nothing useful out of it. And the special #ifndef __KERNEL__
version of 'struct partition' makes me inclined to promote an attitude
of violence...

Stick some comments on some of the #endifs too, while we're at it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/Kbuild
include/linux/genhd.h