]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ALSA: memalloc: Fix missing PAGE_SIZE definition
authorTakashi Iwai <tiwai@suse.de>
Mon, 30 Jul 2018 06:46:40 +0000 (08:46 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 30 Jul 2018 11:02:24 +0000 (12:02 +0100)
The recent fix moved the inline snd_sgbuf_aligned_pages() outside the
ifdef, and this triggered a build error on some architectures due to
the undefined PAGE_SIZE, as spotted by 0day bot.
Fix it by adding the missing header inclusion.

Fixes: 4cae99d9b530 ("ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally")
Reported-by: kbuild test robot <lkp@intel.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/memalloc.h

index c669900e6cbe66c31839e5fcba762ee902ef953b..67561b9979150833b4b433a38a59aedc101df573 100644 (file)
@@ -24,6 +24,8 @@
 #ifndef __SOUND_MEMALLOC_H
 #define __SOUND_MEMALLOC_H
 
+#include <asm/page.h>
+
 struct device;
 
 /*