* [2.6.8+][TRIVIAL] linux/mm.h compilation fix
@ 2004-09-03 9:48 Vinay K Nallamothu
0 siblings, 0 replies; only message in thread
From: Vinay K Nallamothu @ 2004-09-03 9:48 UTC (permalink / raw)
To: akpm; +Cc: LKML
Trivial compilation fix when shared memory is not enabled.
Signed-off-by: Vinay K Nallamothu <vinay.nallamothu@gsecone.com>
--- linux-2.6.9-rc1-mm2/include/linux/mm.h 2004-09-03 13:01:52.000000000 +0530
+++ linux-2.6.9-rc1-mm2-nvk/include/linux/mm.h 2004-09-03 15:20:59.000000000 +0530
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-03 10:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-03 9:48 [2.6.8+][TRIVIAL] linux/mm.h compilation fix Vinay K Nallamothu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®