Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2012 09:25:20 +0000 (UTC)
From:      Jakub Wojciech Klama <jceel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r234129 - projects/armv6/sys/arm/include
Message-ID:  <201204110925.q3B9PL5H064592@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jceel
Date: Wed Apr 11 09:25:20 2012
New Revision: 234129
URL: http://svn.freebsd.org/changeset/base/234129

Log:
  Fix #ifdef ARM_TP_ADDRESS at PULLFRAMEFROMSVCANDEXIT to bring ARMv5 back to work.

Modified:
  projects/armv6/sys/arm/include/asmacros.h

Modified: projects/armv6/sys/arm/include/asmacros.h
==============================================================================
--- projects/armv6/sys/arm/include/asmacros.h	Wed Apr 11 07:21:51 2012	(r234128)
+++ projects/armv6/sys/arm/include/asmacros.h	Wed Apr 11 09:25:20 2012	(r234129)
@@ -187,7 +187,7 @@
  * exit.
  */
 
-#ifndef ARM_TP_ADDRESS
+#ifdef ARM_TP_ADDRESS
 #define PULLFRAMEFROMSVCANDEXIT						   \
         ldr     r0, [sp], #0x0004;	/* Get the SPSR from stack */	   \
         msr     spsr_all, r0;		/* restore SPSR */		   \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204110925.q3B9PL5H064592>