[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yw1xmwnp1txm.fsf@unicorn.mansr.com>
Date: Fri, 06 Sep 2013 23:12:05 +0100
From: Måns Rullgård <mans@...sr.com>
To: behanw@...verseincode.com
Cc: linux@....linux.org.uk, Will Deacon <will.deacon@....com>,
Wade Farnsworth <wade_farnsworth@...tor.com>,
Will Drewry <wad@...omium.org>,
linux-arm-kernel@...ts.infradead.org (moderated list:ARM PORT),
linux-kernel@...r.kernel.org (open list)
Subject: Re: [PATCH 1/5] arm: LLVMLinux: Add current_stack_pointer macro for ARM
behanw@...verseincode.com writes:
> +#define current_stack_pointer ({ \
> + unsigned long current_sp; \
> + asm ("mov %0, r13" : "=r" (current_sp)); \
> + current_sp; \
> +})
Why do you use 'r13' rather than the more common 'sp' alias?
--
Måns Rullgård
mans@...sr.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