[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)
commitd0b79c54fc14f1f2db64180a21b84146028c598b
tree26b3b74d80e96a7d7402723fbed90664147c016a
parentc0ce7d0886cf0c2579c604eac41a7e125bc0e96d
[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