[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <530D46EF.6010103@converseincode.com>
Date: Tue, 25 Feb 2014 17:44:15 -0800
From: Behan Webster <behanw@...verseincode.com>
To: "H. Peter Anvin" <hpa@...or.com>, mmarek@...e.cz,
tglx@...utronix.de, mingo@...hat.com, x86@...nel.org,
sparse@...isli.org
CC: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-sparse@...r.kernel.org, torvalds@...ux-foundation.org,
dwmw2@...radead.org, pageexec@...email.hu,
Jan-Simon Möller <dl9pf@....de>,
Mark Charlebois <charlebm@...il.com>
Subject: Re: [PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for
clang
On 02/25/14 17:32, H. Peter Anvin wrote:
> On 02/25/2014 05:08 PM, behanw@...verseincode.com wrote:
>>
>> +# enforce no-sse for clang
>> +ifneq ($(COMPILER),clang)
>> + KBUILD_CFLAGS += $(call cc-option,-mno-sse)
>> + KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3)
>> +endif
>> +
> I'm *very* confused. You're doing ifneq here but you're talking about
> it as if you are *adding* them for Clang, also these options are already
> added elsewhere (lines 57, 64, 86, 89) so why add them here?
Because when David Woodhouse's recent .code16 changes made it upstream
(which invalidated most of our original patch) it seems I didn't remove
this properly from our patch as well. :)
Thanks David for your patches. Thanks Peter for your sharp eyes!
Another example of why reviewing code on the mailing list works so well.
I will fix and resend.
Behan
--
Behan Webster
behanw@...verseincode.com
--
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