From patchwork Wed Mar 13 11:32:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 87111 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 CD75E3857C59 for ; Wed, 13 Mar 2024 11:32:57 +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.129.124]) by sourceware.org (Postfix) with ESMTPS id 4D4D13858D35 for ; Wed, 13 Mar 2024 11:32:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D4D13858D35 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 4D4D13858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710329557; cv=none; b=L5iNV94zmgDRzwGU8VkHYN0nXXDFv3gbIPOACQonXNce7JteNeh9neOUC5vM27/Q57wXzgCAexn7pA/7oL3+boY8vrjg0Xgq08nOgGWRkHkTB8nYKsgW+h+WgBRJZm/25BUwTuPdXtdAoPmpqc7qoLojXBOKkyT53GgE0B2+rRY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710329557; c=relaxed/simple; bh=CrIdlUAYHOdTrkxmyN9+MaVhj9qo2EPoyK+X4hqfm2w=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GYCpiUusoYQESynfuoOxJdbY7Ct4V045O1HLNjOaOPnDW3EiBVZSHh3Ht8BzoV0ulJk3Ooa7jbqT5xm3g5OplqNCRL+PSv895VidopN32BzWdef1MwNB3A1D5r7gIzs72cd8nn+l/Y7ozaxzIBRUWz+orxY94JWyaaCtfWj+PHk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710329546; 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=kumZ2ioAGNN1OKMk47uc8gQGkyUQnzsY+ZVDhVp2vAQ=; b=BHy6yQdXdJJX8MpMIKH5r7IVHcX0ZbKBL4wpZ79vysIArImFhAqnFN6+10FBRE0YE7n9rR SS/uL6ojlQTJh+fwvdhxHYuKevgUN+VwQuX69RMTZe47WzpZ6dNUymdazQF9spVqswPDKU z9XUcPe0YkgMAwaPuL+DbfBmOYGUxMM= 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-333-Pc4uBL6VP4W7_jOZPRAqKA-1; Wed, 13 Mar 2024 07:32:25 -0400 X-MC-Unique: Pc4uBL6VP4W7_jOZPRAqKA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 0C76A2800098 for ; Wed, 13 Mar 2024 11:32:25 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 675311C060D1 for ; Wed, 13 Mar 2024 11:32:24 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] linux: Add #include to sched_getcpu.c Date: Wed, 13 Mar 2024 12:32:22 +0100 Message-ID: <871q8es6yh.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.7 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, 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 --- 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)