From patchwork Wed Mar 13 13:08:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 87115 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9747D3857B9C for ; Wed, 13 Mar 2024 13:09:08 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C53223858C31 for ; Wed, 13 Mar 2024 13:08:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C53223858C31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C53223858C31 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710335328; cv=none; b=HGksqK2YTTO397iDff6ThBK+oKaa6DLZebg9Y1vCa5B3Xt0sqUespqIttui9BfL18FXQdxZDc2kHAkuey2fGcWBX4BXUECJXy+PsenNyv5lMMutcZ0kiIIuyblpyLquwOzkEM7YC0q2oCXQlMinaHJj9Vq1PhWcA3nn2Us5/tbE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710335328; c=relaxed/simple; bh=/OrHZM3x5M6xvjeyZFfUhLtzyQrNwcbmh71IExmjCOo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=mOg0Jtxr+5kH5lliRnFBF+g4drmWLRrSDJrxI+MYPsZ0Ydh3xcFU9aS1iWvDoXyibxL+eI+9DBP4HDPAj3z0A02BFHwRvYRh9j57kYJAbC5/Sbf9GMcdga3jmLKd6THa5cRzlhMhYM8ROOHULgoX235ecyQ8Z5Y3sEOJ7Flw5f4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710335326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=l395o4FFsfhtwm7KGSHC/ie5bdYT5KxBNvWJFPvuzEs=; b=elgfISF0B5kiRBd71QCvhBdEmQQgv5yDo4QMovzX1EZMOUOtTY+JDlLU23VZrCyNZHpUoK Bn8qMhwnFrSP1bVKvgOspSfqycPBM1z96FifaY3RPb7k3QV63xAR8n3Wo6hPJkGTSaRKOp /rToNgBzQ9w8AClzkQvjc25a/O5JbiQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-392-ma9WrO1VPDWSuIXXq3dFQA-1; Wed, 13 Mar 2024 09:08:43 -0400 X-MC-Unique: ma9WrO1VPDWSuIXXq3dFQA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4B2CC380450C for ; Wed, 13 Mar 2024 13:08:43 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DCAF240D2982 for ; Wed, 13 Mar 2024 13:08:42 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH v2] linux: Add #include to sched_getcpu.c (bug 31479) Date: Wed, 13 Mar 2024 14:08:41 +0100 Message-ID: <87ttlaqnxi.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Originally, nptl/descr.h included , but we removed that in commit 2c6b4b272e6b4d07303af25709051c3e96288f2d ("nptl: Unconditionally use a 32-byte rseq area"). Fixes: 2c6b4b272e6b4d07303af25709051c3e96288f2d Fixes: 1d350aa06091211863e41169729cee1bca39f72f --- v2: Add bug reference. sysdeps/unix/sysv/linux/sched_getcpu.c | 1 + 1 file changed, 1 insertion(+) base-commit: 2173173d57971d042c0ad4b281431ae127e9b5b8 diff --git a/sysdeps/unix/sysv/linux/sched_getcpu.c b/sysdeps/unix/sysv/linux/sched_getcpu.c index dfb884568d..7a7915f87b 100644 --- a/sysdeps/unix/sysv/linux/sched_getcpu.c +++ b/sysdeps/unix/sysv/linux/sched_getcpu.c @@ -19,6 +19,7 @@ #include #include #include +#include static int vsyscall_sched_getcpu (void)