[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130906221857.GQ6617@n2100.arm.linux.org.uk>
Date: Fri, 6 Sep 2013 23:18:57 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: behanw@...verseincode.com
Cc: Mark Charlebois <charlebm@...il.com>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
David Howells <dhowells@...hat.com>,
Catalin Marinas <catalin.marinas@....com>,
Dave Jones <davej@...hat.com>,
"moderated list:ARM PORT" <linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm: LLVMLinux: Calculate pt_regs address from fp
On Fri, Sep 06, 2013 at 05:42:41PM -0400, behanw@...verseincode.com wrote:
> From: Behan Webster <behanw@...verseincode.com>
>
> Use the frame pointer to calculate the end of the stack for current_pt_regs()
> The existing code uses the stack pointer to do this calculation.
> Using the frame pointer yeilds the same value in a more portable way.
> This change supports being able to compile the kernel with gcc and clang.
What happens when frame pointers are disabled on gcc?
--
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