ALSA: core: Fix build error due to missing PAGE_SIZE
PATCH 1/1 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 <[email protected]>
Signed-off-by Takashi Iwai <[email protected]>
--- include/sound/memalloc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/sound/memalloc.h +2 -1
@@ -9,8 +9,9 @@#ifndef __SOUND_MEMALLOC_H#define __SOUND_MEMALLOC_H +#include <asm/page.h> +struct device ; -struct page ;struct vm_area_struct ;/*
Signature · 1 line
2.26.2