]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Skip the "copy down" of the kernel if it is already at zero.
authorJimi Xenidis <jimix@watson.ibm.com>
Mon, 26 Jun 2006 08:56:58 +0000 (04:56 -0400)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Jun 2006 05:18:53 +0000 (15:18 +1000)
commit54719e170875cb69aa0801b9952719937039c2ed
tree26b3b74d80e96a7d7402723fbed90664147c016a
parent8b0e787d955889e71740bc926a66b3afdd789599
[POWERPC] Skip the "copy down" of the kernel if it is already at zero.

This patch allows the kernel to recognized that it was loaded at zero
and the copy down of the image is unnecessary.  This is useful for
Simulators and kexec models.
On a typical 3.8 MiB vmlinux.strip this saves about 2.3 million instructions.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_64.S