[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5409D0EA.8000203@zytor.com>
Date: Fri, 05 Sep 2014 08:04:10 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
Richard Weinberger <richard.weinberger@...il.com>
CC: Sasha Levin <sasha.levin@...cle.com>,
Ingo Molnar <mingo@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, stable@...r.kernel.org,
Greg KH <greg@...ah.com>,
Hannes Frederic Sowa <hannes@...essinduktion.org>
Subject: Re: [PATCH] kernel: add support for gcc 5
On 09/04/2014 02:25 PM, Andrew Morton wrote:
>>
>> CC'ing Hannes, he sent a much simpler gcc5 patch a few days ago.
>> https://lkml.org/lkml/2014/8/26/710
>
> That approach won't last for long - as soon as we add some
> gcc5-specific thing, we'll need a new file.
>
> Let history be a guide:
>
> diff -u include/linux/compiler-gcc3.h include/linux/compiler-gcc4.h
It seems much saner to do that branching when we actually need to. In
the meantime I suspect that a handful of redefinitions would actually be
cleaner.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists