efi: Move relocate_kernel() to shared file.
authorRoy Franz <roy.franz@linaro.org>
Sun, 22 Sep 2013 22:45:31 +0000 (15:45 -0700)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 25 Sep 2013 11:34:37 +0000 (12:34 +0100)
commitc6866d7238d4f26055de8db9c1d5a700e554b2d4
treeaafea85b4a8276b233332b2e0503bb009f29efde
parent38dd9c02c3f2ed461165db22b93fae7f3ddde9ac
efi: Move relocate_kernel() to shared file.

The relocate_kernel() function will be generalized and used
by all architectures, as they all have similar requirements.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/compressed/eboot.c
drivers/firmware/efi/efi-stub-helper.c