Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

headers: kobject.h redux

Remove kobject.h from files which don't need it, notably,
sched.h and fs.h.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alexey Dobriyan and committed by
Linus Torvalds
57cc7215 37721e1b

+6 -13
-1
arch/arm/plat-s3c24xx/cpu-freq.c
··· 21 21 #include <linux/err.h> 22 22 #include <linux/io.h> 23 23 #include <linux/sysdev.h> 24 - #include <linux/kobject.h> 25 24 #include <linux/sysfs.h> 26 25 #include <linux/slab.h> 27 26
-1
arch/powerpc/platforms/pseries/eeh_sysfs.c
··· 25 25 #include <linux/pci.h> 26 26 #include <asm/ppc-pci.h> 27 27 #include <asm/pci-bridge.h> 28 - #include <linux/kobject.h> 29 28 30 29 /** 31 30 * EEH_SHOW_ATTR -- create sysfs entry for eeh statistic
-1
drivers/char/snsc.h
··· 19 19 #include <linux/types.h> 20 20 #include <linux/spinlock.h> 21 21 #include <linux/wait.h> 22 - #include <linux/kobject.h> 23 22 #include <linux/fs.h> 24 23 #include <linux/cdev.h> 25 24 #include <linux/semaphore.h>
-1
drivers/net/bonding/bonding.h
··· 18 18 #include <linux/timer.h> 19 19 #include <linux/proc_fs.h> 20 20 #include <linux/if_bonding.h> 21 - #include <linux/kobject.h> 22 21 #include <linux/cpumask.h> 23 22 #include <linux/in6.h> 24 23 #include "bond_3ad.h"
-1
drivers/pci/hotplug/acpiphp.h
··· 36 36 #define _ACPIPHP_H 37 37 38 38 #include <linux/acpi.h> 39 - #include <linux/kobject.h> 40 39 #include <linux/mutex.h> 41 40 #include <linux/pci_hotplug.h> 42 41
-1
drivers/pci/hotplug/rpaphp_slot.c
··· 24 24 */ 25 25 #include <linux/kernel.h> 26 26 #include <linux/module.h> 27 - #include <linux/kobject.h> 28 27 #include <linux/sysfs.h> 29 28 #include <linux/pci.h> 30 29 #include <linux/string.h>
-1
drivers/s390/char/tape_class.h
··· 14 14 #include <linux/module.h> 15 15 #include <linux/fs.h> 16 16 #include <linux/major.h> 17 - #include <linux/kobject.h> 18 17 #include <linux/kobj_map.h> 19 18 #include <linux/cdev.h> 20 19
-1
drivers/sh/clk/core.c
··· 21 21 #include <linux/module.h> 22 22 #include <linux/mutex.h> 23 23 #include <linux/list.h> 24 - #include <linux/kobject.h> 25 24 #include <linux/sysdev.h> 26 25 #include <linux/seq_file.h> 27 26 #include <linux/err.h>
-1
drivers/usb/musb/musb_debugfs.c
··· 36 36 #include <linux/sched.h> 37 37 #include <linux/init.h> 38 38 #include <linux/list.h> 39 - #include <linux/kobject.h> 40 39 #include <linux/platform_device.h> 41 40 #include <linux/io.h> 42 41 #include <linux/debugfs.h>
+1
fs/gfs2/incore.h
··· 11 11 #define __INCORE_DOT_H__ 12 12 13 13 #include <linux/fs.h> 14 + #include <linux/kobject.h> 14 15 #include <linux/workqueue.h> 15 16 #include <linux/dlm.h> 16 17 #include <linux/buffer_head.h>
-1
fs/nilfs2/super.c
··· 47 47 #include <linux/crc32.h> 48 48 #include <linux/vfs.h> 49 49 #include <linux/writeback.h> 50 - #include <linux/kobject.h> 51 50 #include <linux/seq_file.h> 52 51 #include <linux/mount.h> 53 52 #include "nilfs.h"
+1
fs/sysfs/inode.c
··· 19 19 #include <linux/errno.h> 20 20 #include <linux/sched.h> 21 21 #include <linux/slab.h> 22 + #include <linux/sysfs.h> 22 23 #include <linux/xattr.h> 23 24 #include <linux/security.h> 24 25 #include "sysfs.h"
+1
fs/sysfs/sysfs.h
··· 9 9 */ 10 10 11 11 #include <linux/lockdep.h> 12 + #include <linux/kobject_ns.h> 12 13 #include <linux/fs.h> 13 14 14 15 struct sysfs_open_dirent;
-1
include/linux/firmware-map.h
··· 17 17 #define _LINUX_FIRMWARE_MAP_H 18 18 19 19 #include <linux/list.h> 20 - #include <linux/kobject.h> 21 20 22 21 /* 23 22 * provide a dummy interface if CONFIG_FIRMWARE_MEMMAP is disabled
+1 -1
include/linux/fs.h
··· 382 382 #include <linux/path.h> 383 383 #include <linux/stat.h> 384 384 #include <linux/cache.h> 385 - #include <linux/kobject.h> 386 385 #include <linux/list.h> 387 386 #include <linux/radix-tree.h> 388 387 #include <linux/prio_tree.h> ··· 401 402 struct iovec; 402 403 struct nameidata; 403 404 struct kiocb; 405 + struct kobject; 404 406 struct pipe_inode_info; 405 407 struct poll_table_struct; 406 408 struct kstatfs;
-1
include/linux/sched.h
··· 87 87 #include <linux/timer.h> 88 88 #include <linux/hrtimer.h> 89 89 #include <linux/task_io_accounting.h> 90 - #include <linux/kobject.h> 91 90 #include <linux/latencytop.h> 92 91 #include <linux/cred.h> 93 92
+1
include/linux/sunrpc/cache.h
··· 13 13 #ifndef _LINUX_SUNRPC_CACHE_H_ 14 14 #define _LINUX_SUNRPC_CACHE_H_ 15 15 16 + #include <linux/kref.h> 16 17 #include <linux/slab.h> 17 18 #include <asm/atomic.h> 18 19 #include <linux/proc_fs.h>
+1
security/apparmor/include/match.h
··· 15 15 #ifndef __AA_MATCH_H 16 16 #define __AA_MATCH_H 17 17 18 + #include <linux/kref.h> 18 19 #include <linux/workqueue.h> 19 20 20 21 #define DFA_NOMATCH 0