mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() On OpenRISC, with its 8k pages, PAGE_SHIFT is defined to be 13. That makes the expression (1UL << (PAGE_SHIFT-2)) evaluate to 2048. The correct value for PTRS_PER_PGD should be 256. Correcting the PTRS_PER_PGD define unveiled a bug in map_ram(), where PTRS_PER_PGD was used when the intent was to iterate over a set of page table entries. This patch corrects that issue as well. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Acked-by: Jonas Bonn <jonas@southpole.se> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Stafford Horne <shorne@gmail.com> |
||
---|---|---|
.. | ||
bitops | ||
asm-offsets.h | ||
bitops.h | ||
cache.h | ||
cpuinfo.h | ||
delay.h | ||
dma-mapping.h | ||
elf.h | ||
fixmap.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
linkage.h | ||
mmu.h | ||
mmu_context.h | ||
mutex.h | ||
page.h | ||
pgalloc.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
serial.h | ||
spinlock.h | ||
spr.h | ||
spr_defs.h | ||
syscall.h | ||
syscalls.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
uaccess.h | ||
unaligned.h |