projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fdabab
)
ALSA: core: Fix build error due to missing PAGE_SIZE
author
Takashi Iwai
<tiwai@suse.de>
Thu, 10 Jun 2021 11:09:35 +0000
(13:09 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 10 Jun 2021 11:10:09 +0000
(13:10 +0200)
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>
include/sound/memalloc.h
patch
|
blob
|
history
diff --git
a/include/sound/memalloc.h
b/include/sound/memalloc.h
index
1918c60
..
44d8777
100644
(file)
--- 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;
/*