linux/arch/m32r/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
..
m32104ut
m32700ut
mappi2
mappi3
opsput
Kbuild net, lib: kill arch_fast_hash library bits 2014-12-10 15:17:46 -05:00
addrspace.h
assembler.h
atomic.h locking,arch: Use ACCESS_ONCE() instead of cast to volatile in atomic_read() 2014-10-03 06:06:23 +02:00
barrier.h arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h 2014-01-12 10:37:15 +01:00
bitops.h arch,m32r: Convert smp_mb__*() 2014-04-18 14:20:36 +02:00
bug.h
bugs.h
cache.h
cachectl.h
cacheflush.h
checksum.h
cmpxchg.h
current.h
dcache_clear.h
delay.h
device.h
div64.h
dma.h
elf.h
emergency-restart.h
fb.h
flat.h
ftrace.h
futex.h
hardirq.h
hw_irq.h
io.h m32r: io: implement dummy relaxed accessor macros for writes 2014-10-20 18:49:17 +01:00
irq.h
irq_regs.h
irqflags.h
kdebug.h
kmap_types.h
linkage.h
local.h
local64.h
m32r.h
m32r_mp_fpga.h
m32102.h
mc146818rtc.h
mmu.h
mmu_context.h
mmzone.h
mutex.h
page.h
pci.h
percpu.h
pgalloc.h
pgtable-2level.h mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines 2015-02-28 09:57:51 -08:00
pgtable.h mm: make FIRST_USER_ADDRESS unsigned long on all archs 2015-02-11 17:06:03 -08:00
processor.h arch, locking: Ciao arch_mutex_cpu_relax() 2014-07-17 12:32:47 +02:00
ptrace.h
rtc.h
s1d13806.h
segment.h
serial.h
setup.h
shmparam.h
signal.h
smp.h
spinlock.h
spinlock_types.h
string.h
switch_to.h
syscall.h
termios.h
thread_info.h all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h m32r: macro whitespace fixes 2015-01-13 15:24:01 +02:00
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
xor.h