diff options
| author | Nicolas Pitre <nico@org.rmk.(none)> | 2004-11-10 14:52:03 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-11-10 14:52:03 +0000 |
| commit | f05ee51620a2a45f41ade10a1ce6bc378f8870a8 (patch) | |
| tree | 9bda241d30d8a3626e085df8dc8ea4ca7300eed4 /include | |
| parent | 457450ab3b946006299131970d8e1296db494a1e (diff) | |
[ARM PATCH] 2160/1: allow modules to work with XIP kernel
Patch from Nicolas Pitre
This should be applied on top of patch #2154/1.
This maps the XIP kernel in the same virtual area as used for kernel
modules instead of the previous arbitrary location. Doing so has the
advantage of having a well defined kernel address not conflicting
with the different definitions for VMALLOC_END, as well as making
modules loadable without any indirect long branch calls. The work
on XIPable MTD also requires this with code marked __xipram for the
same reason.
This of course reduces the space available for kernel modules from
16MB to either 14MB or 12MB depending on the size of the resulting
kernel but that shouldn't be a real issue at all, given that the
whole purpose behind XIP is to execute as much stuff from flash,
which is better achieved by compiling drivers in the kernel directly.
Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
