[U-Boot] [PATCH V9 4/4] omap-common/spl: Add linux boot to SPL

Mike Frysinger vapier at gentoo.org
Thu Dec 8 01:50:38 CET 2011


On Tuesday 06 December 2011 13:34:38 Simon Schwarz wrote:
> --- a/arch/arm/cpu/armv7/omap-common/spl.c
> +++ b/arch/arm/cpu/armv7/omap-common/spl.c
>
> +void jump_to_image_linux(void *arg)
> +{
> ...
> +}
> +void jump_to_image_linux(void *) __attribute__ ((noreturn));

no need for this.  do it in one line:
__noreturn void jump_to_image_linux(void *arg)
{
	...
}

(include linux/compiler.h if need be)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111207/5c53fed8/attachment.pgp>


More information about the U-Boot mailing list