linux/arch
Stefan Kristiansson f47706099b openrisc: fix PTRS_PER_PGD define
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>
2016-12-12 23:09:06 +09:00
..
alpha
arc ARC: mm: PAE40: Fix crash at munmap 2016-11-29 09:12:08 -08:00
arm ARM: Final batch of SoC fixes 2016-12-09 11:00:39 -08:00
arm64 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions 2016-12-02 17:28:17 +01:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon
ia64
m32r
m68k
metag
microblaze
mips MIPS: Lantiq: Fix mask of GPE frequency 2016-12-11 11:20:25 +01:00
mn10300
nios2
openrisc openrisc: fix PTRS_PER_PGD define 2016-12-12 23:09:06 +09:00
parisc parisc: Fix TLB related boot crash on SMP machines 2016-12-08 21:27:18 +01:00
powerpc powerpc fixes for 4.9 #7 2016-12-05 10:30:12 -08:00
s390
score
sh
sparc sparc: drop duplicate header scatterlist.h 2016-11-19 10:43:07 -05:00
tile tile: avoid using clocksource_cyc2ns with absolute cycle count 2016-11-23 15:28:54 -05:00
um
unicore32
x86 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-07 11:39:27 -08:00
xtensa
.gitignore
Kconfig