From owner-svn-soc-all@FreeBSD.ORG Wed Jul 23 13:06:52 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEDDC46D for ; Wed, 23 Jul 2014 13:06:52 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BAD1828E3 for ; Wed, 23 Jul 2014 13:06:52 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ND6qwc068408 for ; Wed, 23 Jul 2014 13:06:52 GMT (envelope-from op@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.8/8.14.8/Submit) id s6ND6qVF068392 for svn-soc-all@FreeBSD.org; Wed, 23 Jul 2014 13:06:52 GMT (envelope-from op@FreeBSD.org) Date: Wed, 23 Jul 2014 13:06:52 GMT Message-Id: <201407231306.s6ND6qVF068392@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to op@FreeBSD.org using -f From: op@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r271273 - in soc2014/op/freebsd-base/sys: amd64/amd64 x86/include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 13:06:52 -0000 Author: op Date: Wed Jul 23 13:06:51 2014 New Revision: 271273 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271273 Log: KSP: lower nesting level of round brackets Signed-off-by: Oliver Pinter git: https://github.com/opntr/opBSD/tree/op/gsoc2014/kpatch Modified: soc2014/op/freebsd-base/sys/amd64/amd64/cpu_switch.S soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h Modified: soc2014/op/freebsd-base/sys/amd64/amd64/cpu_switch.S ============================================================================== --- soc2014/op/freebsd-base/sys/amd64/amd64/cpu_switch.S Wed Jul 23 13:06:42 2014 (r271272) +++ soc2014/op/freebsd-base/sys/amd64/amd64/cpu_switch.S Wed Jul 23 13:06:51 2014 (r271273) @@ -122,7 +122,7 @@ 1: movq %rdx,%rcx movl xsave_mask,%eax movl xsave_mask+4,%edx - _xsave_xsaveopt( (%r8) ) + _xsave_xsaveopt (%r8) movq %rcx,%rdx 2: smsw %ax orb $CR0_TS,%al Modified: soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h ============================================================================== --- soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h Wed Jul 23 13:06:42 2014 (r271272) +++ soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h Wed Jul 23 13:06:51 2014 (r271273) @@ -64,11 +64,11 @@ #define KSP_INSTR_XSAVE_XSAVEOPT(_ARG) \ 0723: \ - xsave _ARG ; \ + xsave ( _ARG ) ; \ 0724: \ .pushsection set_selfpatch_patch_set, "ax" ; \ 0725: \ - xsaveopt _ARG ; \ + xsaveopt ( _ARG ) ; \ 0726: \ .popsection \ .pushsection set_selfpatch_set, "a" ; \