diff options
-rw-r--r-- | include/linux/sched.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 1941d8b5cf11..26da921530fe 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -824,7 +824,16 @@ extern void partition_sched_domains(int ndoms_new, cpumask_t *doms_new, | |||
824 | struct sched_domain_attr *dattr_new); | 824 | struct sched_domain_attr *dattr_new); |
825 | extern int arch_reinit_sched_domains(void); | 825 | extern int arch_reinit_sched_domains(void); |
826 | 826 | ||
827 | #endif /* CONFIG_SMP */ | 827 | #else /* CONFIG_SMP */ |
828 | |||
829 | struct sched_domain_attr; | ||
830 | |||
831 | static inline void | ||
832 | partition_sched_domains(int ndoms_new, cpumask_t *doms_new, | ||
833 | struct sched_domain_attr *dattr_new) | ||
834 | { | ||
835 | } | ||
836 | #endif /* !CONFIG_SMP */ | ||
828 | 837 | ||
829 | struct io_context; /* See blkdev.h */ | 838 | struct io_context; /* See blkdev.h */ |
830 | #define NGROUPS_SMALL 32 | 839 | #define NGROUPS_SMALL 32 |