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

Måns Rullgård (mru@users.sourceforge.net)
13 Apr 2003 00:30:07 +0200


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/