Skip to contentSkip to conversation

[2.6.8+][TRIVIAL] linux/mm.h compilation fix

PATCH Vinay K Nallamothu 1 participant 1 message Sep 3, 2004 MM core

lore
Share & tools
lore
#0 lore raw

Trivial compilation fix when shared memory is not enabled.

include/linux/mm.h +1 -1
@@ -528,7 +528,7 @@
 int shmem_lock(struct file *file, int lock, struct user_struct *user);
 #else
 #define shmem_nopage filemap_nopage
-#define shmem_lock(a, b) /* always in memory, no need to lock */
+#define shmem_lock(a, b, c) /* always in memory, no need to lock */
 #define shmem_set_policy(a, b) (0)
 #define shmem_get_policy(a, b) (NULL)
 #endif