Re: [PATCH 1/4] arch: add missing predfines: __amd64 & __amd64__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 27/11/2019 02:23, Luc Van Oostenryck wrote:
> These seems to be defined whenever s__x86_64 & __x86_64__

s/seems/seem/
s/s__x86_64 & __x86_64__/the __x86_64 and __x86_64__ macros/

ATB,
Ramsay Jones

> are defined.
> 
> So, do the same here too.
> 
> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
> ---
>  lib.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib.c b/lib.c
> index 45402e51f..28ca49c7c 100644
> --- a/lib.c
> +++ b/lib.c
> @@ -1609,6 +1609,8 @@ static void predefined_macros(void)
>  		if (arch_m64 != ARCH_LP32) {
>  			predefine("__x86_64__", 1, "1");
>  			predefine("__x86_64", 1, "1");
> +			predefine("__amd64__", 1, "1");
> +			predefine("__amd64", 1, "1");
>  			break;
>  		}
>  		/* fall-through */
> 



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux