mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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: 37af81c599
("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>
This commit is contained in:
parent
7fdabab8f5
commit
83fbcaed24
1 changed files with 2 additions and 1 deletions
|
@ -9,8 +9,9 @@
|
||||||
#ifndef __SOUND_MEMALLOC_H
|
#ifndef __SOUND_MEMALLOC_H
|
||||||
#define __SOUND_MEMALLOC_H
|
#define __SOUND_MEMALLOC_H
|
||||||
|
|
||||||
|
#include <asm/page.h>
|
||||||
|
|
||||||
struct device;
|
struct device;
|
||||||
struct page;
|
|
||||||
struct vm_area_struct;
|
struct vm_area_struct;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue