From owner-svn-src-head@FreeBSD.ORG Tue Aug 6 10:03:45 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A9AC61E7; Tue, 6 Aug 2013 10:03:45 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 97DA9248A; Tue, 6 Aug 2013 10:03:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r76A3jdY044425; Tue, 6 Aug 2013 10:03:45 GMT (envelope-from andrew@svn.freebsd.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r76A3jpL044424; Tue, 6 Aug 2013 10:03:45 GMT (envelope-from andrew@svn.freebsd.org) Message-Id: <201308061003.r76A3jpL044424@svn.freebsd.org> From: Andrew Turner Date: Tue, 6 Aug 2013 10:03:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253985 - head/sys/arm/arm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Aug 2013 10:03:45 -0000 Author: andrew Date: Tue Aug 6 10:03:44 2013 New Revision: 253985 URL: http://svnweb.freebsd.org/changeset/base/253985 Log: We no longer need to align the stack before calling swi_handler as it is already aligned correctly in the PUSHFRAME macro. Modified: head/sys/arm/arm/exception.S Modified: head/sys/arm/arm/exception.S ============================================================================== --- head/sys/arm/arm/exception.S Tue Aug 6 06:24:37 2013 (r253984) +++ head/sys/arm/arm/exception.S Tue Aug 6 10:03:44 2013 (r253985) @@ -83,10 +83,7 @@ ASENTRY_NP(swi_entry) PUSHFRAME mov r0, sp /* Pass the frame to any function */ - mov r6, sp /* Backup the stack pointer */ - bic sp, sp, #7 /* Align the stack pointer */ bl _C_LABEL(swi_handler) /* It's a SWI ! */ - mov sp, r6 /* Restore the stack */ DO_AST PULLFRAME