diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 5 | ||||
-rw-r--r-- | init/main.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index df55b3665601..f70f2fd273c2 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -339,9 +339,14 @@ config BASE_FULL | |||
339 | kernel data structures. This saves memory on small machines, | 339 | kernel data structures. This saves memory on small machines, |
340 | but may reduce performance. | 340 | but may reduce performance. |
341 | 341 | ||
342 | config RT_MUTEXES | ||
343 | boolean | ||
344 | select PLIST | ||
345 | |||
342 | config FUTEX | 346 | config FUTEX |
343 | bool "Enable futex support" if EMBEDDED | 347 | bool "Enable futex support" if EMBEDDED |
344 | default y | 348 | default y |
349 | select RT_MUTEXES | ||
345 | help | 350 | help |
346 | Disabling this option will cause the kernel to be built without | 351 | Disabling this option will cause the kernel to be built without |
347 | support for "fast userspace mutexes". The resulting kernel may not | 352 | support for "fast userspace mutexes". The resulting kernel may not |
diff --git a/init/main.c b/init/main.c index acbb0b749137..bce0eb7f4f8f 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include <linux/mempolicy.h> | 47 | #include <linux/mempolicy.h> |
48 | #include <linux/key.h> | 48 | #include <linux/key.h> |
49 | #include <linux/unwind.h> | 49 | #include <linux/unwind.h> |
50 | #include <linux/buffer_head.h> | ||
50 | 51 | ||
51 | #include <asm/io.h> | 52 | #include <asm/io.h> |
52 | #include <asm/bugs.h> | 53 | #include <asm/bugs.h> |
@@ -79,7 +80,6 @@ extern void mca_init(void); | |||
79 | extern void sbus_init(void); | 80 | extern void sbus_init(void); |
80 | extern void sysctl_init(void); | 81 | extern void sysctl_init(void); |
81 | extern void signals_init(void); | 82 | extern void signals_init(void); |
82 | extern void buffer_init(void); | ||
83 | extern void pidhash_init(void); | 83 | extern void pidhash_init(void); |
84 | extern void pidmap_init(void); | 84 | extern void pidmap_init(void); |
85 | extern void prio_tree_init(void); | 85 | extern void prio_tree_init(void); |