linux-xiaomi-chiron/arch/frv/include/asm
Kirill A. Shutemov c07af4f1ce mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines
Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page
table levels folded.  Usually, these defines are provided by
<asm-generic/pgtable-nopmd.h> and <asm-generic/pgtable-nopud.h>.

But some architectures fold page table levels in a custom way.  They
need to define these macros themself.  This patch adds missing defines.

The patch fixes mm->nr_pmds underflow and eliminates dead __pmd_alloc()
and __pud_alloc() on architectures without these page table levels.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: David Howells <dhowells@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-28 09:57:51 -08:00
..
asm-offsets.h
atomic.h
ax88796.h
barrier.h
bitops.h
bug.h
bugs.h
busctl-regs.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h
cpu-irqs.h
current.h
delay.h
device.h
div64.h
dm9000.h
dma-mapping.h
dma.h
elf.h
emergency-restart.h
fb.h
fpu.h
ftrace.h
futex.h
gdb-stub.h
gpio-regs.h
hardirq.h
highmem.h
hw_irq.h
io.h
irc-regs.h
irq.h
irq_regs.h
irqflags.h
Kbuild
kdebug.h
kmap_types.h
linkage.h
local.h
local64.h
math-emu.h
mb-regs.h
mb86943a.h
mb93091-fpga-irqs.h
mb93093-fpga-irqs.h
mb93493-irqs.h
mb93493-regs.h
mc146818rtc.h
mem-layout.h
mmu.h
mmu_context.h
module.h
mutex.h
page.h
pci.h
percpu.h
perf_event.h
pgalloc.h
pgtable.h
processor.h
ptrace.h
sections.h
segment.h
serial-regs.h
serial.h
setup.h
shmparam.h
signal.h
smp.h
spinlock.h
spr-regs.h
string.h
switch_to.h
syscall.h
termios.h
thread_info.h
timer-regs.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
virtconvert.h
xor.h