linux-pinenote/arch/parisc/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
..
agp.h
asm-offsets.h
asmregs.h
assembly.h
atomic.h locking,arch: Use ACCESS_ONCE() instead of cast to volatile in atomic_read() 2014-10-03 06:06:23 +02:00
bitops.h arch,parisc: Convert smp_mb__*() 2014-04-18 14:20:41 +02:00
bug.h
bugs.h
cache.h
cacheflush.h parisc: fix cache-flushing 2014-02-02 20:57:16 +01:00
checksum.h
cmpxchg.h
compat.h
compat_ucontext.h
current.h
delay.h
dma-mapping.h
dma.h
eisa_bus.h
eisa_eeprom.h
elf.h parisc: add flexible mmap memory layout support 2014-02-02 21:00:13 +01:00
fb.h
fixmap.h
floppy.h
ftrace.h ftrace: Make CALLER_ADDRx macros more generic 2014-05-21 03:10:32 -04:00
futex.h
grfioctl.h
hardirq.h
hardware.h
ide.h
io.h parisc: io: implement dummy relaxed accessor macros for writes 2014-10-20 18:49:18 +01:00
irq.h
irqflags.h
kbdleds.h
Kbuild net, lib: kill arch_fast_hash library bits 2014-12-10 15:17:46 -05:00
kmap_types.h
ldcw.h parisc: fix out-of-register compiler error in ldcw inline assembler function 2014-12-26 17:47:01 +01:00
led.h
linkage.h
machdep.h
mc146818rtc.h
mckinley.h
mmu.h
mmu_context.h
mmzone.h
module.h
page.h parisc: Remove unused CONFIG_PARISC_TMPALIAS code 2014-03-23 16:46:30 +01:00
parisc-device.h
parport.h
pci.h PCI: Turn pcibios_penalize_isa_irq() into a weak function 2014-05-27 16:23:58 -06:00
pdc.h
pdc_chassis.h
pdcpat.h
perf.h
perf_event.h
pgalloc.h
pgtable.h mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines 2015-02-28 09:57:51 -08:00
prefetch.h
processor.h parisc: hpux - Remove hpux gateway page 2015-02-16 22:35:06 +01:00
psw.h
ptrace.h
ropes.h
rt_sigframe.h
rtc.h
runway.h
scatterlist.h
seccomp.h parisc: Wire up seccomp, getrandom and memfd_create syscalls 2014-08-27 14:39:56 +02:00
sections.h
serial.h parisc: remove empty SERIAL_PORT_DFNS in serial.h 2013-11-30 21:02:18 +01:00
shmparam.h parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE 2014-04-13 15:00:53 +02:00
signal.h
smp.h
socket.h
special_insns.h
spinlock.h parisc: locks: remove redundant arch_*_relax operations 2014-03-23 17:01:23 +01:00
spinlock_types.h
string.h
superio.h
switch_to.h
syscall.h ARCH: AUDIT: implement syscall_get_arch for all arches 2014-09-23 16:20:10 -04:00
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
traps.h
uaccess.h parisc: macro whitespace fixes 2015-02-17 10:39:14 +01:00
ucontext.h
unaligned.h
unistd.h sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL 2014-06-04 16:54:14 -07:00
unwind.h