VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Tejun Heo <tj@kernel.org> 2010-07-24 11:10:09 +0200 committer: Tejun Heo <tj@kernel.org> 2010-07-24 11:10:09 +0200 commit: 40f2b6ffe525e975203c1621d4d4abaa7689b674 parent: 181a51f6e040d0ac006d6adaf4a031ffa440f41c
Commit Summary:
fscache: fix build on !CONFIG_SYSCTL
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/fs/fscache/main.c b/fs/fscache/main.c
index 500936d9fff2..f9d856773f79 100644
--- a/fs/fscache/main.c
+++ b/fs/fscache/main.c
@@ -186,7 +186,9 @@ static void __exit fscache_exit(void)
 
 	kobject_put(fscache_root);
 	kmem_cache_destroy(fscache_cookie_jar);
+#ifdef CONFIG_SYSCTL
 	unregister_sysctl_table(fscache_sysctl_header);
+#endif
 	fscache_proc_cleanup();
 	destroy_workqueue(fscache_op_wq);
 	destroy_workqueue(fscache_object_wq);