diff mbox series

mm: fix compilation warning in patchs

Message ID 20240801065035.621-1-justinjiang@vivo.com (mailing list archive)
State New
Headers show
Series mm: fix compilation warning in patchs | expand

Commit Message

zhiguojiang Aug. 1, 2024, 6:50 a.m. UTC
Fix compilation warning in bellow patch.
https://lore.kernel.org/linux-mm/202408010150.13yZScv6-lkp@intel.com/

Signed-off-by: Zhiguo Jiang <justinjiang@vivo.com>
---

| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408010150.13yZScv6-lkp@intel.com/

 mm/mmu_gather.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c
index 2bb413d052bd..405383f619f5 100644
--- a/mm/mmu_gather.c
+++ b/mm/mmu_gather.c
@@ -51,7 +51,7 @@ 
  */
 #define NR_MIN_EXITING_PROCESSES 2
 
-atomic_t nr_exiting_processes = ATOMIC_INIT(0);
+static atomic_t nr_exiting_processes = ATOMIC_INIT(0);
 static struct kmem_cache *swap_gather_cachep;
 static struct workqueue_struct *swapfree_wq;
 static DEFINE_STATIC_KEY_TRUE(tlb_swap_asyncfree_disabled);