[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141012115332.5ec3db90@as>
Date: Sun, 12 Oct 2014 11:53:32 -0500
From: Chuck Ebbert <cebbert.lkml@...il.com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: Clean up stack access code in irq_32.c
On Sun, 12 Oct 2014 09:47:53 -0700
"H. Peter Anvin" <hpa@...or.com> wrote:
[replying to the list this time, sigh]
> We changed this to asm because the C broke some compilers. Why are you changing it back?
>
The C broke some compilers because it was using a global register
variable. This is a local one, which the clang documentation says is
supported. And I compiled it with clang with no problem.
> On October 12, 2014 9:43:53 AM PDT, Chuck Ebbert <cebbert.lkml@...il.com> wrote:
> >Use C instead of asm for accessing the stack pointer. And define some
> >macros to make the code easier to understand.
> >
--
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