summaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorRoy Franz <roy.franz@linaro.org>2013-09-23 00:45:32 +0200
committerMatt Fleming <matt.fleming@intel.com>2013-09-25 13:34:38 +0200
commit4a9f3a7c336a6b0ffeef2523bef93e67b0921163 (patch)
tree49717fdb090563dc4b10b056f40f0d49d9fe033b /lib/strncpy_from_user.c
parentefi: Move relocate_kernel() to shared file. (diff)
downloadlinux-4a9f3a7c336a6b0ffeef2523bef93e67b0921163.tar.xz
linux-4a9f3a7c336a6b0ffeef2523bef93e67b0921163.zip
efi: Generalize relocate_kernel() for use by other architectures.
Rename relocate_kernel() to efi_relocate_kernel(), and take parameters rather than x86 specific structure. Add max_addr argument as for ARM we have some address constraints that we need to enforce when relocating the kernel. Add alloc_size parameter for use by ARM64 which uses an uncompressed kernel, and needs to allocate space for BSS. Signed-off-by: Roy Franz <roy.franz@linaro.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions