From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938967AbcJXOO4 (ORCPT ); Mon, 24 Oct 2016 10:14:56 -0400 Received: from smtprelay0146.hostedemail.com ([216.40.44.146]:44824 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S936517AbcJXOOz (ORCPT ); Mon, 24 Oct 2016 10:14:55 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 30,2,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::,RULES_HIT:41:355:379:541:569:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3351:3622:3865:3867:3868:3870:3871:3872:3873:3874:5007:6261:7514:7875:10004:10400:10848:10967:11026:11232:11658:11914:12114:12663:12740:12760:13069:13311:13357:13439:14181:14659:14721:21080:30029:30030:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: walk09_47a8227d74613 X-Filterd-Recvd-Size: 1682 Date: Mon, 24 Oct 2016 10:14:50 -0400 From: Steven Rostedt To: Nicholas Piggin Cc: LKML , Al Viro , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Gabriel C Subject: Re: [RFC][PATCH] Add EXPORT_MACRO_SYMBOL() for asm Message-ID: <20161024101450.0da71c93@gandalf.local.home> In-Reply-To: <20161024122545.55539e53@roar.ozlabs.ibm.com> References: <20161021121759.74a635db@gandalf.local.home> <20161022104441.6a8f442f@roar.ozlabs.ibm.com> <20161022150852.0e54e763@gandalf.local.home> <20161024122545.55539e53@roar.ozlabs.ibm.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Oct 2016 12:25:45 +1100 Nicholas Piggin wrote: > Yes it's grepping for EXPORT_SYMBOL_* I think. If you need to > create a new name, EXPORT_SYMBOL prefix would be preferred. But > yeah if you make the standard macro do macro expansion, it > should just work, no? Unfortunately, that's not enough. There's some magic in the Makefile that seems to use the names found in EXPORT_SYMBOL*, which fails when that name is just a macro to another name. I'm just going to punt and include both names depending on the config. -- Steve