rcu: Fix sparse warnings
[firefly-linux-kernel-4.4.55.git] / kernel / srcu.c
index 818d7d9aa03c5f73a765f91dc0e56852960a93c4..31b275b9c112cdc694e818d74cea779a14109a05 100644 (file)
@@ -144,7 +144,7 @@ EXPORT_SYMBOL_GPL(srcu_read_unlock);
 /*
  * Helper function for synchronize_srcu() and synchronize_srcu_expedited().
  */
-void __synchronize_srcu(struct srcu_struct *sp, void (*sync_func)(void))
+static void __synchronize_srcu(struct srcu_struct *sp, void (*sync_func)(void))
 {
        int idx;