Skip to contentSkip to conversation

Fix undefined mem_map in sound/core/memalloc.c

PATCH? Måns Rullgård 1 participant 1 message Apr 12, 2003 Sound

lore
Share & tools
lore
#0 lore raw

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.

sound/memalloc.h renamed from sound/memalloc.h~ +1 -0
@@ -25,6 +25,7 @@
 #define __SOUND_MEMALLOC_H
 
 #include <linux/pci.h>
+#include <linux/mm.h>
 #ifdef CONFIG_SBUS
 #include <asm/sbus.h>
 #endif
Signature · 2 lines
Måns Rullgård
[email protected]