linux/arch/parisc/mm
Helge Deller 9b0b0ebdc6 parisc: Fix map_pages() to not overwrite existing pte entries
commit 3c229b3f2d upstream.

Fix a long-existing small nasty bug in the map_pages() implementation which
leads to overwriting already written pte entries with zero, *if* map_pages() is
called a second time with an end address which isn't aligned on a pmd boundry.
This happens for example if we want to remap only the text segment read/write
in order to run alternative patching on the code. Exiting the loop when we
reach the end address fixes this.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-02-11 17:53:36 +00:00
..
fault.c parisc: Report SIGSEGV instead of SIGBUS when running out of stack 2017-10-12 15:27:59 +01:00
init.c parisc: Fix map_pages() to not overwrite existing pte entries 2019-02-11 17:53:36 +00:00
ioremap.c parisc: fix wrong page aligned size calculation in ioremapping code 2010-08-12 08:43:29 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00