[PATCH] arm: remove backtrace.s when ARM_UNWIND enable
Catalin Marinas
catalin.marinas at arm.com
Wed Aug 11 13:18:37 EDT 2010
On Wed, 2010-08-11 at 17:08 +0100, janboe wrote:
> backtrace.s can only work with FRAME_POINTER, so disable when
> ARM_UNWIND enabled
>
> Signed-off-by: janboe <janboe.ye at gmail.com>
[...]
> +ifneq ($(CONFIG_ARM_UNWIND),y)
> + lib-y += backtrace.o
> +endif
Could we use CONFIG_FRAME_POINTER (and negate the conditions in your
patch)? The above would be:
lib-$(CONFIG_FRAME_POINTER) += backtrace.o
--
Catalin
More information about the linux-arm-kernel
mailing list