ARM64: rockchip: cpufreq-dt: enable CPUFREQ_HAVE_GOVERNOR_PER_POLICY
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_stats.c
index bd50619fa8c9677c07a417fb830e4ec0252b3022..8686df6c76095b907b2e1b78c144f5b1c271a62d 100644 (file)
@@ -161,6 +161,7 @@ static const struct file_operations xqmstat_proc_fops = {
 };
 #endif /* CONFIG_XFS_QUOTA */
 
+#ifdef CONFIG_PROC_FS
 int
 xfs_init_procfs(void)
 {
@@ -191,3 +192,4 @@ xfs_cleanup_procfs(void)
 {
        remove_proc_subtree("fs/xfs", NULL);
 }
+#endif /* CONFIG_PROC_FS */