diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-06-10 13:09:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-06-10 13:10:09 +0200 |
commit | 83fbcaed24d797528de00c024674fd58e8f1634f (patch) | |
tree | 3a56fbf4bddffaa3d0d17cd9ce4b1d81b6fc40f6 /include/sound | |
parent | 7fdabab8f56239466275adea5d2f0a6fff27527b (diff) | |
download | linux-83fbcaed24d797528de00c024674fd58e8f1634f.tar.bz2 |
ALSA: core: Fix build error due to missing PAGE_SIZE
The recent refactoring of memalloc stuff removed the inclusion of
asm/page.h for simplicity, but it turned out this caused a compile
error due the lack of PAGE_SIZE definition on some architectures.
Do a partial revert for recovering from that.
Fixes: 37af81c5998f ("ALSA: core: Abstract memory alloc helpers")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/202106101858.PfXMMuAa-lkp@intel.com
Link: https://lore.kernel.org/r/20210610110935.10393-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/memalloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h index 1918c60f1f35..44d87775b352 100644 --- a/include/sound/memalloc.h +++ b/include/sound/memalloc.h @@ -9,8 +9,9 @@ #ifndef __SOUND_MEMALLOC_H #define __SOUND_MEMALLOC_H +#include <asm/page.h> + struct device; -struct page; struct vm_area_struct; /* |