mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
e928f35061
blackfin allmodconfig build fails with the error:
../sound/core/pcm_native.c: In function 'snd_pcm_lib_default_mmap':
../sound/core/pcm_native.c:3386:24: error: implicit declaration of function 'pgprot_writecombine' [-Werror=implicit-function-declaration]
area->vm_page_prot = pgprot_writecombine(area->vm_page_prot);
^
../sound/core/pcm_native.c:3386:22: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
area->vm_page_prot = pgprot_writecombine(area->vm_page_prot);
^
When !MMU, asm-generic will not define default pgprot_writecombine, so
blackfin needs to define it by itself.
The patch idea is from commit
|
||
---|---|---|
.. | ||
boot | ||
configs | ||
include | ||
kernel | ||
lib | ||
mach-bf518 | ||
mach-bf527 | ||
mach-bf533 | ||
mach-bf537 | ||
mach-bf538 | ||
mach-bf548 | ||
mach-bf561 | ||
mach-bf609 | ||
mach-common | ||
mm | ||
oprofile | ||
Clear_BSD.txt | ||
Kconfig | ||
Kconfig.debug | ||
Makefile |