From: Alexey Dobriyan I forgot to remove capability.h from mm.h while removing sched.h! This patch remedies that, because the only inline function which was using CAP_something was made out of line. Cross-compile tested without regressions on: all powerpc defconfigs all mips defconfigs all m68k defconfigs all arm defconfigs all ia64 defconfigs alpha alpha-allnoconfig alpha-defconfig alpha-up arm i386 i386-allnoconfig i386-defconfig i386-up ia64 ia64-allnoconfig ia64-defconfig ia64-up m68k mips parisc parisc-allnoconfig parisc-defconfig parisc-up powerpc powerpc-up s390 s390-allnoconfig s390-defconfig s390-up sparc sparc-allnoconfig sparc-defconfig sparc-up sparc64 sparc64-allnoconfig sparc64-defconfig sparc64-up um-x86_64 x86_64 x86_64-allnoconfig x86_64-defconfig x86_64-up as well as my two usual configs. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton --- drivers/pci/pci-sysfs.c | 2 +- drivers/pci/proc.c | 2 +- fs/gfs2/eaops.c | 1 + include/linux/mm.h | 1 - kernel/time/ntp.c | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff -puN drivers/pci/pci-sysfs.c~remove-capabilityh-from-mmh drivers/pci/pci-sysfs.c --- a/drivers/pci/pci-sysfs.c~remove-capabilityh-from-mmh +++ a/drivers/pci/pci-sysfs.c @@ -20,7 +20,7 @@ #include #include #include - +#include #include "pci.h" static int sysfs_initialized; /* = 0 */ diff -puN drivers/pci/proc.c~remove-capabilityh-from-mmh drivers/pci/proc.c --- a/drivers/pci/proc.c~remove-capabilityh-from-mmh +++ a/drivers/pci/proc.c @@ -11,7 +11,7 @@ #include #include #include - +#include #include #include #include "pci.h" diff -puN fs/gfs2/eaops.c~remove-capabilityh-from-mmh fs/gfs2/eaops.c --- a/fs/gfs2/eaops.c~remove-capabilityh-from-mmh +++ a/fs/gfs2/eaops.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff -puN include/linux/mm.h~remove-capabilityh-from-mmh include/linux/mm.h --- a/include/linux/mm.h~remove-capabilityh-from-mmh +++ a/include/linux/mm.h @@ -2,7 +2,6 @@ #define _LINUX_MM_H #include -#include #ifdef __KERNEL__ diff -puN kernel/time/ntp.c~remove-capabilityh-from-mmh kernel/time/ntp.c --- a/kernel/time/ntp.c~remove-capabilityh-from-mmh +++ a/kernel/time/ntp.c @@ -13,7 +13,7 @@ #include #include #include - +#include #include #include _