From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 64.mail-out.ovh.net ([91.121.185.65]) by bombadil.infradead.org with smtp (Exim 4.69 #1 (Red Hat Linux)) id 1O6xAX-0001Pt-BL for barebox@lists.infradead.org; Wed, 28 Apr 2010 02:38:34 +0000 Date: Wed, 28 Apr 2010 04:37:45 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20100428023745.GH19722@game.jcrosoft.org> References: <1272013443-29196-1-git-send-email-s.hauer@pengutronix.de> <1272013443-29196-8-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1272013443-29196-8-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 07/14] add arm helper function to determine the program counter To: Sascha Hauer Cc: barebox@lists.infradead.org On 11:03 Fri 23 Apr , Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > arch/arm/include/asm/common.h | 14 ++++++++++++++ > 1 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/include/asm/common.h b/arch/arm/include/asm/common.h > index 9afcff7..6b8e179 100644 > --- a/arch/arm/include/asm/common.h > +++ b/arch/arm/include/asm/common.h > @@ -1 +1,15 @@ > #define ARCH_SHUTDOWN > + > +static inline unsigned long get_program_counter(void) I think this could be more generic than arm and we could use a shorter name as get_pc Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox