]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/swap.c
signalfd: fill in ssi_int for posix timers and message queues
[karo-tx-linux.git] / mm / swap.c
index 9e0cb3118079e6eae0cf27fed41b8f2ff59f8bc2..65e68259835ecf90165f4c73b500a7e7b0416384 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -244,7 +244,6 @@ void lru_add_drain(void)
        put_cpu();
 }
 
-#ifdef CONFIG_NUMA
 static void lru_add_drain_per_cpu(struct work_struct *dummy)
 {
        lru_add_drain();
@@ -258,18 +257,6 @@ int lru_add_drain_all(void)
        return schedule_on_each_cpu(lru_add_drain_per_cpu);
 }
 
-#else
-
-/*
- * Returns 0 for success
- */
-int lru_add_drain_all(void)
-{
-       lru_add_drain();
-       return 0;
-}
-#endif
-
 /*
  * Batched page_cache_release().  Decrement the reference count on all the
  * passed pages.  If it fell to zero then remove the page from the LRU and