Skip to content
Snippets Groups Projects
Commit 8d0e051c authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Enable the ro_after_init feature


This patch modifies the initial page mapping functions in the following way:

During bootup the init, text and data pages will be mapped RWX and if
supported, with huge pages.

At final stage of the bootup, the kernel calls free_initmem() and then all
pages will be remapped either R-X (for text and read-only data) or RW- (for
data). The __init pages will be dropped.

This reflects the behaviour of the x86 platform.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent e6eb5fe9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment