[PATCHv3 3/4] arm64: Update the Image header

Geoff Levand geoff at infradead.org
Fri Jun 20 10:03:30 PDT 2014


Hi Mark,

On Thu, 2014-06-19 at 11:49 +0100, Mark Rutland wrote: 
> diff --git a/arch/arm64/include/asm/image.h b/arch/arm64/include/asm/image.h
> new file mode 100644
> index 0000000..8fae075
> --- /dev/null
> +++ b/arch/arm64/include/asm/image.h
> @@ -0,0 +1,62 @@
> +/*
> + * Linker script macros to generate Image header fields.

...

> + */
> +#ifndef __ASM_IMAGE_H
> +#define __ASM_IMAGE_H
> +
> +#ifndef LINKER_SCRIPT
> +#error This file should only be included in vmlinux.lds.S
> +#endif

Since this is just used by the linker script, shouldn't it go in
arch/arm64/kernel/image.h?

-Geoff




More information about the linux-arm-kernel mailing list