]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/mm.h
nommu: fix build breakage
[mv-sheeva.git] / include / linux / mm.h
index 3899395a03dea678551ed6a0a365b26d03088b6d..7f693b272c4a2ceb4f675ce4477c3284fef0c2ae 100644 (file)
@@ -971,7 +971,13 @@ static inline void setmax_mm_hiwater_rss(unsigned long *maxrss,
                *maxrss = hiwater_rss;
 }
 
+#if defined(SPLIT_RSS_COUNTING)
 void sync_mm_rss(struct task_struct *task, struct mm_struct *mm);
+#else
+static inline void sync_mm_rss(struct task_struct *task, struct mm_struct *mm)
+{
+}
+#endif
 
 /*
  * A callback you can register to apply pressure to ageable caches.