kobject: Break the kobject namespace defs into their own header
authorDavid Howells <dhowells@redhat.com>
Wed, 11 Aug 2010 14:01:02 +0000 (15:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 01:12:46 +0000 (18:12 -0700)
commit8488a38f4d2f43bd55a3e0db4cd57a5bef3af6d6
tree104acb0de25090fa4982c24799c2d3d414b9b192
parent9ee47476d6734c9deb9ae9ab05d963302f6b6150
kobject: Break the kobject namespace defs into their own header

Break the kobject namespace defs into their own header to avoid a header file
inclusion ordering problem between linux/sysfs.h and linux/kobject.h.

This fixes the build breakage on older versions of gcc.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kobject.h
include/linux/kobject_ns.h [new file with mode: 0644]
include/linux/sysfs.h