Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EED0BC38A2D for ; Mon, 24 Oct 2022 10:38:59 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 88D7D3C97FA for ; Mon, 24 Oct 2022 12:38:57 +0200 (CEST) Received: from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 6FE3F3C60C9 for ; Mon, 24 Oct 2022 12:38:47 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (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 in-3.smtp.seeweb.it (Postfix) with ESMTPS id 8E3231A007A2 for ; Mon, 24 Oct 2022 12:38:46 +0200 (CEST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 8BFA32215C; Mon, 24 Oct 2022 10:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1666607925; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6fezCTZ3NHPnR+pvozcD4rU2SvgYnZEWvJKvST2jZ+Y=; b=M/u8LPe5I7wuxnUmxNno4esthZRVMNYvJBjwNo6S4bnhjFeTgKfns8LXS+Nwf8fQj7nV+g 13Pnxn4asJmiKlT1UdscnF0DNgNJRr2nyGsouSOY927XYTMGjnmtx7stSW0sax6/z2NjOq PX2ReK+DU3KFs/OuLpqdFDcefiCUwHU= Received: from g78.suse.de (unknown [10.163.28.198]) by relay2.suse.de (Postfix) with ESMTP id 380952C141; Mon, 24 Oct 2022 10:38:45 +0000 (UTC) To: ltp@lists.linux.it Date: Mon, 24 Oct 2022 11:38:35 +0100 Message-Id: <20221024103836.6394-1-rpalethorpe@suse.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-3.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH 1/2] Revert "ptrace07: Fix compilation when not on x86" X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Richard Palethorpe via ltp Reply-To: Richard Palethorpe Cc: Richard Palethorpe , Martin Doucha Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Empty macro could lead to confusing tests failures. This needs to be handled differently. This reverts commit acf485f199347fc270a7da7e33e7635f9e78b6c7. Signed-off-by: Richard Palethorpe Suggested-by: Martin Doucha --- include/lapi/cpuid.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/lapi/cpuid.h b/include/lapi/cpuid.h index 20e977093..cd0567f92 100644 --- a/include/lapi/cpuid.h +++ b/include/lapi/cpuid.h @@ -16,15 +16,11 @@ * have __cpuid_count(). */ #ifndef __cpuid_count -# if defined(__i386__) || defined(__x86_64__) #define __cpuid_count(level, count, a, b, c, d) ({ \ __asm__ __volatile__ ("cpuid\n\t" \ : "=a" (a), "=b" (b), "=c" (c), "=d" (d) \ : "0" (level), "2" (count)); \ }) -# else -#define __cpuid_count(level, count, a, b, c, d) -# endif #endif #endif /* LAPI_CPUID_H__ */ -- 2.36.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp