Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp753593pxb; Wed, 3 Nov 2021 11:48:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmuP6H/eF8DQ26kmx9oRgUEr/Z4G64pjaeKkTD88jnB6C6piAVU1icpip+HncNLmMGvnrV X-Received: by 2002:a92:b743:: with SMTP id c3mr28333465ilm.222.1635965299490; Wed, 03 Nov 2021 11:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635965299; cv=none; d=google.com; s=arc-20160816; b=WXKSdqOhL2LmGUpQ8xijsQzDovtcDdZXqB/gFI3j1LcYzpr3wRaCLEpxCYlLhIoU3r 6PZA4sZxUHMgEvFkcPwOROuuyKw5QG92/ttEsc2vyAjJVb5h9WDHMaXWYxqmY6vnmWhF MnVp3+KESRJA5kTb4YxFStnEZYzVmfgElyeoHIEOYPE05J8nWTvb0hkueZ3AgmUIJjTS xdfYhTnptUYAYD1pAfU1RNB62cIhnRRiF16O+L9sz+TcPZTrHA+goqzUGMGNSTEE8qif 0BYxLGwPtEvSmt6Qaca4HPOzNbBY63qKg+AL5MRVx+moIbWqKMXoU2L1DqqHoagKFN++ y8kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Zxs+t5ACl+Wo8FeOaRtK9Dp1HZotsCogBdV9kyeHQ5s=; b=Z2CLlIeZXqhEwjjku4P6FQTMsGuB3uc+ArzkzNrHXkrpk38nkzP75b4lI0DbmNBH64 97UDlo8cv6ViFFPhdFihO2PMLIbVxh3UR1kbkFG85vxZDlFFFUU06sFim0nBTvuihTpA PVCTw01TDCVqhUxuo1DLsXe1D8uHyOOyMTn49eyLAgQNmlV1S09F/x7RuOWtI8dchGd6 BMiuAlSKCnc833lrfsEwfFPjF0Jn0+v6cQOAH6SIYIOI8KXvUrBD6Gu7MyOqK1jVqoql MJ5tqe/BwV8fU+bpErJEs8Su2O2V7ua1AoXsmeHV7QkQoJGs5G2hb36uEQzmhPBQYDdb FqeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d15si4782554ilv.102.2021.11.03.11.48.06; Wed, 03 Nov 2021 11:48:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbhKCStY (ORCPT + 99 others); Wed, 3 Nov 2021 14:49:24 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:50012 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbhKCStX (ORCPT ); Wed, 3 Nov 2021 14:49:23 -0400 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 3.0.0) id 9a91add219eb3001; Wed, 3 Nov 2021 19:46:45 +0100 Received: from kreacher.localnet (unknown [213.134.161.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 9FECA661F93; Wed, 3 Nov 2021 19:46:44 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Linus Torvalds Subject: [PATCH] ACPI: Drop ACPI_USE_BUILTIN_STDARG ifdef from acgcc.h Date: Wed, 03 Nov 2021 19:46:43 +0100 Message-ID: <5779281.lOV4Wx5bFT@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.161.207 X-CLIENT-HOSTNAME: 213.134.161.207 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddrtddvgdduudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpedvvefgteeuteehkeduuedvudetleevffdtffdtjeejueekffetieekgfeigfehudenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppedvudefrddufeegrdduiedurddvtdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudeiuddrvddtjedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehtohhrvhgrlhgusheslhhinhhugihfohhunhgurghtihhonhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki The ACPI_USE_BUILTIN_STDARG symbol is never set in the kernel build, so stop checking it in include/acpi/platform/acgcc.h and drop all of the macros depending on it (which appear to duplicate the analogous macros from linux/stdarg.h, but in fact are never used). Link: https://lore.kernel.org/linux-acpi/CAHk-=whCammRsz8PEbrft3M6vGjF506gkxtyGw81uGOUUvD51g@mail.gmail.com/ Signed-off-by: Rafael J. Wysocki --- include/acpi/platform/acgcc.h | 13 ------------- 1 file changed, 13 deletions(-) Index: linux-pm/include/acpi/platform/acgcc.h =================================================================== --- linux-pm.orig/include/acpi/platform/acgcc.h +++ linux-pm/include/acpi/platform/acgcc.h @@ -10,25 +10,12 @@ #ifndef __ACGCC_H__ #define __ACGCC_H__ -/* - * Use compiler specific is a good practice for even when - * -nostdinc is specified (i.e., ACPI_USE_STANDARD_HEADERS undefined. - */ #ifndef va_arg -#ifdef ACPI_USE_BUILTIN_STDARG -typedef __builtin_va_list va_list; -#define va_start(v, l) __builtin_va_start(v, l) -#define va_end(v) __builtin_va_end(v) -#define va_arg(v, l) __builtin_va_arg(v, l) -#define va_copy(d, s) __builtin_va_copy(d, s) -#else #ifdef __KERNEL__ #include #else -/* Used to build acpi tools */ #include #endif /* __KERNEL__ */ -#endif /* ACPI_USE_BUILTIN_STDARG */ #endif /* ! va_arg */ #define ACPI_INLINE __inline__