Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1698607imm; Thu, 20 Sep 2018 01:10:22 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda01gvDv7mYXTwzmIxkzzxvVLKd8u3Ml75AqwvspvZnvANJWBpU/I/DxOpU3r29G1c1Som5 X-Received: by 2002:a17:902:7683:: with SMTP id m3-v6mr38851811pll.255.1537431022286; Thu, 20 Sep 2018 01:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537431022; cv=none; d=google.com; s=arc-20160816; b=Ld5tjvbnTSUtK6v/pFjMXpAOg/SlIKEOs/krmumrOU3OjZuz+rKGKquMDV6S+e9B8Z zVAZIQBquEFVrKVJRqdMiMRK1n2uSMQkgJNql93nBIkG/37t+ypy6mbefijBACsgpKIR rAPwRZhVAdAjfTrsscsVpioXcFvCicA2c09Wdp1OhFgJnE/2gpgNAc1JHqMom3a5xDhA uT98zST15aSGnh4EMKZ3z/mXLVN2Z9co9ImpOI4LDpc5BnncuoRHPA0ox90zsS//EFQr 5NWIj8R44iYfg3wgf9B089YKZD1iCvwG/tD1FGby4ebzSU5lgcvotaIiym2+pGfZBJ+r 4gXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6wmK5GEIsSiog+KBRRL31C6N4NxA7TC1GD8XTvZ5sk8=; b=Ypj8DS9cvV/Y7RyphL/6xc/p8pxbBFKcEEoqMVmTNtPQRDcMeiQnN8DUWypk1avKn6 cRzceLnJKGfLcV7MlNFzNbK/RcMs0jhfFEWvx1TkKCYIoGdmdtwwaVQ0yNhc/twu3qvg qdrKT7gThGUwxvx6SfFUSiqQvWsK0jPkQege0N++9WLjDJZz+ZUvx2DaRQsS9sSw8/lx YKkj3JEWycH4+HCv/oiGpX5G7SuqaaW9y18fEG8HtFyUQz12OwCOBWKFXCGMfcbTEK6N cpUEgcP3vuBlEGQgqh02piImIUsMoGtaYNF/70oNS78VimiYkb3Tfqat2NMlXwuUY9qQ 3E0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 138-v6si1226098pgh.312.2018.09.20.01.10.06; Thu, 20 Sep 2018 01:10:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731678AbeITNuc (ORCPT + 99 others); Thu, 20 Sep 2018 09:50:32 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:45414 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726592AbeITNuc (ORCPT ); Thu, 20 Sep 2018 09:50:32 -0400 Received: from 79.184.254.22.ipv4.supernova.orange.pl (79.184.254.22) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.148) id 5c80924e66c4be12; Thu, 20 Sep 2018 10:08:17 +0200 From: "Rafael J. Wysocki" To: Rasmus Villemoes Cc: Jason Baron , Andrew Morton , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH 17/22] ACPI: implement acpi_handle_debug in terms of _dynamic_func_call Date: Thu, 20 Sep 2018 10:05:30 +0200 Message-ID: <3017961.RRfiJQt7az@aspire.rjw.lan> In-Reply-To: <20180919220444.23190-18-linux@rasmusvillemoes.dk> References: <20180919220444.23190-1-linux@rasmusvillemoes.dk> <20180919220444.23190-18-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, September 20, 2018 12:04:39 AM CEST Rasmus Villemoes wrote: > With coming changes on x86-64, all dynamic debug descriptors in a > translation unit must have distinct names. The macro _dynamic_func_call > takes care of that. No functional change. > > Cc: linux-acpi@vger.kernel.org > Signed-off-by: Rasmus Villemoes > --- > include/linux/acpi.h | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/include/linux/acpi.h b/include/linux/acpi.h > index e12d5ef1a054..83bacf9039e9 100644 > --- a/include/linux/acpi.h > +++ b/include/linux/acpi.h > @@ -977,12 +977,8 @@ void __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const c > #else > #if defined(CONFIG_DYNAMIC_DEBUG) > #define acpi_handle_debug(handle, fmt, ...) \ > -do { \ > - DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ > - if (DYNAMIC_DEBUG_BRANCH(descriptor)) \ > - __acpi_handle_debug(&descriptor, handle, pr_fmt(fmt), \ > - ##__VA_ARGS__); \ > -} while (0) > + _dynamic_func_call(fmt, __acpi_handle_debug, \ > + handle, pr_fmt(fmt), ##__VA_ARGS__) > #else > #define acpi_handle_debug(handle, fmt, ...) \ > ({ \ > Acked-by: Rafael J. Wysocki