aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-01-07 14:44:34 -0500
committerBorislav Petkov <[email protected]>2020-01-23 11:58:43 +0100
commit183ef7adf4ed638ac0fb0c3c9a71fc00e8512b61 (patch)
tree2d58db55eedf738b53bfefafa5bfd64757c41ae8 /drivers/pci/controller/dwc/pci-keystone.c
parentb2b1d94cdfd4e906d3936dab2850096a4a0c2017 (diff)
x86/boot: Simplify calculation of output address
Condense the calculation of decompressed kernel start a little. Committer notes: before: ebp = ebx - (init_size - _end) after: eax = (ebx + _end) - init_size where in both ebx contains the temporary address the kernel is moved to for in-place decompression. The before and after difference in register state is %eax and %ebp but that is immaterial because the compressed image is not built with -mregparm, i.e., all arguments of the following extract_kernel() call are passed on the stack. Signed-off-by: Arvind Sankar <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions