projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] proc: fix linkage with CONFIG_SYSCTL=y, CONFIG_PROC_SYSCTL=n
[powerpc.git]
/
fs
/
proc
/
internal.h
diff --git
a/fs/proc/internal.h
b/fs/proc/internal.h
index
c932aa6
..
f771889
100644
(file)
--- a/
fs/proc/internal.h
+++ b/
fs/proc/internal.h
@@
-11,7
+11,11
@@
#include <linux/proc_fs.h>
+#ifdef CONFIG_PROC_SYSCTL
extern int proc_sys_init(void);
+#else
+static inline void proc_sys_init(void) { }
+#endif
struct vmalloc_info {
unsigned long used;