Commit 345a9ca3 authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown

ALSA: memalloc: Fix missing PAGE_SIZE definition

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: 4cae99d9 ("ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8adf3df4
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#ifndef __SOUND_MEMALLOC_H #ifndef __SOUND_MEMALLOC_H
#define __SOUND_MEMALLOC_H #define __SOUND_MEMALLOC_H
#include <asm/page.h>
struct device; struct device;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment