Message ID | 20250210154942.3634878-13-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 27a8d899c7a100fd5aa040a8b993bb257687c393 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4e42:0:b0:385:e875:8a9e with SMTP id r2csp1662065wrt; Mon, 10 Feb 2025 07:52:42 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUMyAG7yTBT/Z/VKQmQZh/xEIxqRM4NKcbP10+UziMTP6hx1lyVQWTz4JzXMhj6d8nbEh9dGQ==@linaro.org X-Google-Smtp-Source: AGHT+IFFce1MRk41sdj0MvyOoZVF5jUvpRURiUkiKtHiKKVDEyVNhTBuv4c1XAjvJqmS2OvMBio/ X-Received: by 2002:a05:620a:17a6:b0:7c0:6865:ad86 with SMTP id af79cd13be357-7c068824196mr24058885a.35.1739202762630; Mon, 10 Feb 2025 07:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739202762; cv=none; d=google.com; s=arc-20240605; b=NX+8Y9/xH3cSoAtS563wY4YVsQ1MHitohtpSziQH4k6nneLfGLRquF0DTx3wO++a4h TVy/Ijc5iGLmzE8ne99WkSUNJTeLyb+rBPf6t4bXvizqFuZ+NCSeWxwjq8EBt8fZqlG0 Zt1y5USLR3bPLaorhIuBACr7pRtBTvrqTh4KyyMvN3W7Q7P3Y2hm0vVmv4nmL/3KDUOr 36jMSOlK9AvXPyOCh+4zKicNTnGY1VYMETyIc2GX1Bc1uOJPPHZBXJzjNcAJliBoyLEF OO/PPu9veUOzeXXp2EKGJJpPQelOynChNyUUKjZw+SBsYvS2Nevvmovnsy5TGQPLJduH ha1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=yUBcHpc5OCe44EFqf9E+CLvvwsZEvaTZC3OB4U4wEFU=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=UYz0anUCI4gi98rVvHWdqpP8G3+MBeTIUwm6an7NNTLYrGmJour93Mn6aCMxmB+Jfd v0f8rgBvr5UvP95tqqIUGnFpvLn1TruGRalzo8RoeOe4yVmtFOgw+tyoBFJ2ajPGCfwG G18N2supzVvmPKbIZ9QwLRUYR7pcSZHhqc32JE3KnjSsdt3zp2TC5gYXeN2hYWGfWMyk j1GH6WoJPUrcOk7H2ERtm3KG2FY5U2jcN1p8FKCtnotrQH50alX7OhdBG4wKS9FUhzem s/2ylsUeVfAgBU0DnbbXTFBHLXmKfXaEJwVVA30q8Qf1EHXerhrrXlpIZUjtU8kX4ESe c/2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iz72c136; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c041ee549fsi982807085a.602.2025.02.10.07.52.42 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Feb 2025 07:52:42 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iz72c136; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1thW43-0008P3-RC; Mon, 10 Feb 2025 10:51:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1thW2q-0007F5-Mf for qemu-devel@nongnu.org; Mon, 10 Feb 2025 10:50:01 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1thW2o-0004in-RH for qemu-devel@nongnu.org; Mon, 10 Feb 2025 10:50:00 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-43944c51e41so11321205e9.0 for <qemu-devel@nongnu.org>; Mon, 10 Feb 2025 07:49:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739202597; x=1739807397; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=yUBcHpc5OCe44EFqf9E+CLvvwsZEvaTZC3OB4U4wEFU=; b=iz72c136EF8LaXdB8AobzR/YcziPqCAkUkFC6xp3YebyUk8SgDgF8i6Z9iDNxLFWFu hDQlmevKtqegIDQBs6s82FbpL7hJCGQoz2WkKhnXWNR+HyWEkkll4d/8bvsWUb/9emqz bNWQ/I/R7vklZr2jY3XC5Doqi87BVkhWMJci2ZVYQAjCY+t5n5yW5LsT1Meidx/U8HBG F4e+06JiO/QiG1xFLJyc5LCuMW6HLWIivv/mh9GyNgm4YuThwLvmt57QEPja1mE7zK0M GmUx3z/frfUiLNb/5xL8SGUX0JAVzVKRPUwWtxr0s48DA79gFpPp0KTectK/nMA2bZPP 9pTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739202597; x=1739807397; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yUBcHpc5OCe44EFqf9E+CLvvwsZEvaTZC3OB4U4wEFU=; b=EO0f9PGfsuHPmZqDokIeMQtTFDavBrlXFXVFWkBNWhM3fczNEYi2WihesleiuleaEp uRSGO/32JlSzooOxhBGbi+u6deSKCPZrhXY/YPKx3qdaMWZnEWMJXrTAbw93mMoNi+mG 7ZcDYI1xHBZEyUthuxOACPB9UyncuhpHzAHAmFAldPlWS5MggbMTc0GRsOKvqGlvs7OA UIxFaqzH1gqYnC2mbsFSU67nJEzez/pdA1kNu1C1Au5szO0phE6FL9tPWd5zDhyDPhxS 6sv2SLNvi6Uzxw2k2AuBooifYuUpIHFADZ2PoFv5ohR1+9bwWebLug7+WOHLh5Bi4K8k VQgA== X-Gm-Message-State: AOJu0Yz7/FrA1qumvr11umUSPni2EtqC6YT5S+gwyMUz6UCLTDz1B4sX NrqzwTIWVFvnS7wXx2vORXSvT3OKpkuI1MnlNqcQu0FCRBPfm8Y6j92oCAk1LqoxT5sdrtvRaXl m X-Gm-Gg: ASbGncvJl22Ut+HophVLDiV3szMCTa+fd8IYKON37z9t27wS5gmgd4Bu4TL2uBV6hK9 U99P/pH9mPKzvZwlIb+GrQMcm4i5vrhj0+CHkLFGxsw2WS4uXmXAytFgtOdr/V32Ls38AhDve5R eY4HCscylZoroyYeKbxn+MbVqRefHpyndo65CLVMQ61QFhbdMFGSOHvl994snI9cpeT8dyGZjlA oaRkPLs4thEkfGBcsUym3R1O5YzlVdI6tFKBmtbURn1IiLllqnFs5SmLMxdQq+lmbm9yg7zIjVA bhBDIbgajUxNIrZ65FsH X-Received: by 2002:a05:600c:1e0d:b0:439:4827:73d with SMTP id 5b1f17b1804b1-439482709dcmr24849095e9.18.1739202597256; Mon, 10 Feb 2025 07:49:57 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4391dfd8448sm150612845e9.38.2025.02.10.07.49.56 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2025 07:49:56 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 12/12] linux-user: Do not define struct sched_attr if libc headers do Date: Mon, 10 Feb 2025 15:49:42 +0000 Message-Id: <20250210154942.3634878-13-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250210154942.3634878-1-peter.maydell@linaro.org> References: <20250210154942.3634878-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/12] target/arm: deprecate the pxa2xx CPUs and iwMMXt emulation
|
expand
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6ee02383daf..df5ed18062c 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -360,7 +360,8 @@ _syscall3(int, sys_sched_getaffinity, pid_t, pid, unsigned int, len, #define __NR_sys_sched_setaffinity __NR_sched_setaffinity _syscall3(int, sys_sched_setaffinity, pid_t, pid, unsigned int, len, unsigned long *, user_mask_ptr); -/* sched_attr is not defined in glibc */ +/* sched_attr is not defined in glibc < 2.41 */ +#ifndef SCHED_ATTR_SIZE_VER0 struct sched_attr { uint32_t size; uint32_t sched_policy; @@ -373,6 +374,7 @@ struct sched_attr { uint32_t sched_util_min; uint32_t sched_util_max; }; +#endif #define __NR_sys_sched_getattr __NR_sched_getattr _syscall4(int, sys_sched_getattr, pid_t, pid, struct sched_attr *, attr, unsigned int, size, unsigned int, flags);