Fix undefined mem_map in sound/core/memalloc.c
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]