mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
When !MMU, asm-generic will not define default pgprot_writecombine, so c6x
needs to define it by itself. The related error:
CC [M] fs/pstore/ram_core.o
fs/pstore/ram_core.c: In function 'persistent_ram_vmap':
fs/pstore/ram_core.c:399:10: error: implicit declaration of function 'pgprot_writecombine' [-Werror=implicit-function-declaration]
prot = pgprot_writecombine(PAGE_KERNEL);
^
fs/pstore/ram_core.c:399:8: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
prot = pgprot_writecombine(PAGE_KERNEL);
^
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
||
|---|---|---|
| .. | ||
| asm-offsets.h | ||
| bitops.h | ||
| bug.h | ||
| cache.h | ||
| cacheflush.h | ||
| checksum.h | ||
| clkdev.h | ||
| clock.h | ||
| cmpxchg.h | ||
| delay.h | ||
| dma-mapping.h | ||
| dscr.h | ||
| elf.h | ||
| ftrace.h | ||
| hardirq.h | ||
| irq.h | ||
| irqflags.h | ||
| Kbuild | ||
| linkage.h | ||
| megamod-pic.h | ||
| module.h | ||
| mutex.h | ||
| page.h | ||
| pgtable.h | ||
| processor.h | ||
| procinfo.h | ||
| ptrace.h | ||
| sections.h | ||
| setup.h | ||
| soc.h | ||
| special_insns.h | ||
| string.h | ||
| switch_to.h | ||
| syscall.h | ||
| syscalls.h | ||
| thread_info.h | ||
| timer64.h | ||
| timex.h | ||
| tlb.h | ||
| traps.h | ||
| uaccess.h | ||
| unaligned.h | ||