forked from luck/tmp_suning_uos_patched
d99f04df32
[ Upstream commit dc068f46217970d9516f16cd37972a01d50dc055 ] The non-MMU m68k pagetable ZERO_PAGE() macro is being set to the somewhat non-sensical value of "virt_to_page(0)". The zeroth page is not in any way guaranteed to be a page full of "0". So the result is that ZERO_PAGE() will almost certainly contain random values. We already allocate a real "empty_zero_page" in the mm setup code shared between MMU m68k and non-MMU m68k. It is just not hooked up to the ZERO_PAGE() macro for the non-MMU m68k case. Fix ZERO_PAGE() to use the allocated "empty_zero_page" pointer. I am not aware of any specific issues caused by the old code. Link: https://lore.kernel.org/linux-m68k/2a462b23-5b8e-bbf4-ec7d-778434a3b9d7@google.com/T/#t Reported-by: Hugh Dickens <hughd@google.com> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
adb_iop.h | ||
amigahw.h | ||
amigaints.h | ||
amigayle.h | ||
amipcmcia.h | ||
apollohw.h | ||
asm-offsets.h | ||
asm-prototypes.h | ||
atari_joystick.h | ||
atari_stdma.h | ||
atari_stram.h | ||
atarihw.h | ||
atariints.h | ||
atarikb.h | ||
atomic.h | ||
bitops.h | ||
blinken.h | ||
bootinfo.h | ||
bootstd.h | ||
bug.h | ||
bugs.h | ||
bvme6000hw.h | ||
cache.h | ||
cacheflush_mm.h | ||
cacheflush_no.h | ||
cacheflush.h | ||
checksum.h | ||
cmpxchg.h | ||
coldfire.h | ||
contregs.h | ||
current.h | ||
delay.h | ||
div64.h | ||
dma.h | ||
dsp56k.h | ||
dvma.h | ||
elf.h | ||
entry.h | ||
export.h | ||
fb.h | ||
fbio.h | ||
flat.h | ||
floppy.h | ||
fpu.h | ||
ftrace.h | ||
gpio.h | ||
hash.h | ||
hp300hw.h | ||
hwtest.h | ||
ide.h | ||
idprom.h | ||
intersil.h | ||
io_mm.h | ||
io_no.h | ||
io.h | ||
irq.h | ||
irqflags.h | ||
Kbuild | ||
kexec.h | ||
kmap.h | ||
linkage.h | ||
m52xxacr.h | ||
m53xxacr.h | ||
m53xxsim.h | ||
m54xxacr.h | ||
m54xxgpt.h | ||
m54xxpci.h | ||
m54xxsim.h | ||
m520xsim.h | ||
m523xsim.h | ||
m525xsim.h | ||
m527xsim.h | ||
m528xsim.h | ||
m5206sim.h | ||
m5272sim.h | ||
m5307sim.h | ||
m5407sim.h | ||
m5441xsim.h | ||
mac_asc.h | ||
mac_baboon.h | ||
mac_iop.h | ||
mac_oss.h | ||
mac_psc.h | ||
mac_via.h | ||
machdep.h | ||
machines.h | ||
machw.h | ||
macintosh.h | ||
macints.h | ||
math-emu.h | ||
MC68EZ328.h | ||
MC68VZ328.h | ||
MC68328.h | ||
mc146818rtc.h | ||
mcf_pgalloc.h | ||
mcf_pgtable.h | ||
mcf8390.h | ||
mcfclk.h | ||
mcfdma.h | ||
mcfgpio.h | ||
mcfintc.h | ||
mcfmmu.h | ||
mcfpit.h | ||
mcfqspi.h | ||
mcfsim.h | ||
mcfslt.h | ||
mcftimer.h | ||
mcfuart.h | ||
mcfwdebug.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
module.lds.h | ||
motorola_pgalloc.h | ||
motorola_pgtable.h | ||
movs.h | ||
mvme16xhw.h | ||
mvme147hw.h | ||
natfeat.h | ||
nettel.h | ||
nubus.h | ||
openprom.h | ||
oplib.h | ||
page_mm.h | ||
page_no.h | ||
page_offset.h | ||
page.h | ||
parport.h | ||
pci.h | ||
pgalloc.h | ||
pgtable_mm.h | ||
pgtable_no.h | ||
pgtable.h | ||
processor.h | ||
ptrace.h | ||
q40_master.h | ||
q40ints.h | ||
quicc_simple.h | ||
raw_io.h | ||
segment.h | ||
serial.h | ||
setup.h | ||
signal.h | ||
smp.h | ||
string.h | ||
sun3_pgalloc.h | ||
sun3_pgtable.h | ||
sun3-head.h | ||
sun3ints.h | ||
sun3mmu.h | ||
sun3x.h | ||
sun3xflop.h | ||
sun3xprom.h | ||
switch_to.h | ||
syscall.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
traps.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vga.h | ||
virtconvert.h | ||
vmalloc.h | ||
zorro.h |