linux/arch/blackfin
Sudip Mukherjee e928f35061 blackfin: define dummy pgprot_writecombine for !MMU
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 65b9ab888c ("arch/c6x/include/asm/pgtable.h:
define dummy pgprot_writecombine for !MMU")

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Cc: Steven Miao <realmz6@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-15 16:55:16 -07:00
..
boot
configs bf609: enable soft switch gpio driver by default 2015-04-23 21:34:29 +08:00
include blackfin: define dummy pgprot_writecombine for !MMU 2016-03-15 16:55:16 -07:00
kernel blackfin: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
lib
mach-bf518
mach-bf527 debug-mmrs: Eliminate all traces of the USB_PHY_TEST MMR 2015-04-23 21:34:31 +08:00
mach-bf533 arch/blackfin/mach-bf533/boards/stamp.c: add linux/delay.h 2015-01-08 15:10:52 -08:00
mach-bf537 blackfin: nand: make use of mtd_to_nand() where appropriate 2015-12-08 13:02:57 -08:00
mach-bf538
mach-bf548 debug-mmrs: Eliminate all traces of the USB_PHY_TEST MMR 2015-04-23 21:34:31 +08:00
mach-bf561 MTD updates for v4.5: 2016-01-13 11:25:54 -08:00
mach-bf609 [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
mach-common genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
mm
oprofile
Clear_BSD.txt
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Kconfig.debug
Makefile