From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751893AbdJYOUi (ORCPT ); Wed, 25 Oct 2017 10:20:38 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:55882 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbdJYOUe (ORCPT ); Wed, 25 Oct 2017 10:20:34 -0400 X-Google-Smtp-Source: ABhQp+S534KSKZLoS57SqeXeVEsQSAsZqkoUD3r2voVmxRQxrUa3Um9DxzCOvJEztcbmLoVQ+FeCHw== Subject: Re: [PATCH v4 01/27] linkage: new macros for assembler symbols To: Josh Poimboeuf Cc: mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Boris Ostrovsky , Ingo Molnar , Juergen Gross , Len Brown , Linus Torvalds , linux-pm@vger.kernel.org, Pavel Machek , Peter Zijlstra , "Rafael J. Wysocki" , xen-devel@lists.xenproject.org References: <20171002091246.28432-1-jslaby@suse.cz> <20171006152355.73fljxsihnejppx4@treble> From: Jiri Slaby Message-ID: <67a86986-8868-82e5-6e54-cdf03c1e4d2b@suse.cz> Date: Wed, 25 Oct 2017 16:20:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171006152355.73fljxsihnejppx4@treble> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/06/2017, 05:23 PM, Josh Poimboeuf wrote: > On Mon, Oct 02, 2017 at 11:12:20AM +0200, Jiri Slaby wrote: >> SYM_CODE_INNER_LABEL -- only for labels in the middle of code >> SYM_CODE_INNER_LABEL_NOALIGN -- only for labels in the middle of code > > Why are the inner labels aligned by default? Seems like unaligned would > be the most common case. Correct: $ git grep -w SYM_CODE_INNER_LABEL_NOALIGN arch/|wc -l 20 $ git grep -w SYM_CODE_INNER_LABEL arch/|wc -l 3 Will switch them. >> d) For data >> SYM_DATA_START -- global data symbol >> SYM_DATA_END -- the end of the SYM_DATA_START symbol >> SYM_DATA_END_LABEL -- the labeled end of SYM_DATA_START symbol >> SYM_DATA_SIMPLE -- start+end wrapper around simple global data >> SYM_DATA_SIMPLE_LOCAL -- start+end wrapper around simple local data > > "SIMPLE" seems superfluous, how about s/SYM_DATA_SIMPLE/SYM_DATA/ ? Yup, makes sense, will do. thanks, -- js suse labs