[PATCH?] Fix undefined mem_map in sound/core/memalloc.c

From: Måns Rullgård (mru@users.sourceforge.net)
Date: Sat Apr 12 2003 - 17:30:07 EST


This fixes "mem_map undefined" errors in sound/core/memalloc.c (and
others). I'm not sure it's the right way to do it, but it works for
playing sound.

--- include/sound/memalloc.h~ Mon Apr 7 19:30:38 2003
+++ include/sound/memalloc.h Sat Apr 12 19:16:07 2003
@@ -25,6 +25,7 @@
 #define __SOUND_MEMALLOC_H
 
 #include <linux/pci.h>
+#include <linux/mm.h>
 #ifdef CONFIG_SBUS
 #include <asm/sbus.h>
 #endif

-- 
Måns Rullgård
mru@users.sf.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:27 EST