From patchwork Wed Jan 26 22:20:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1584695 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=a4yyxNAo; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JkdVN3pDTz9tB1 for ; Thu, 27 Jan 2022 09:21:32 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id CD14B31E085F; Wed, 26 Jan 2022 23:21:19 +0100 (CET) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by helium.openadk.org (Postfix) with ESMTPS id 4AB3931E0508 for ; Wed, 26 Jan 2022 23:21:05 +0100 (CET) Received: by mail-wr1-f43.google.com with SMTP id a13so1376781wrh.9 for ; Wed, 26 Jan 2022 14:21:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7iRLuhEokmDnW9EP5Qtn5p7MaPvIg5AoeuwZOcmdrEw=; b=a4yyxNAoJ1X3KpHRqH0Gd2FKYfs/8UpZE6Gx214TjdxLsfftVT6eZLH4T7Ta8eTq54 4A/kR5aB8XtvMed3Ha3HbdBEEMPa+AmtTn2uWqL0OadX4jWZPX84eWZOcAJo4qOhCTur HoiPbco3z6smxbk5st3ntz+FXmdG3WM+Ul1nUkopn+AxzEZkdHrmsPQ4dg1dF/EmYMpo 4QNpvDx7RKOSt/hli9oAji4K8DfUh/wu67dvRlub1SU6owA3Y895sLeGL+GfkStUo2dj UD14CMynh4fXTj7eqHoB3lZZLdK2Ahrb7vo9CZxQKrsc2+lWo2wYXwofnJzH8MUChftl x7+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7iRLuhEokmDnW9EP5Qtn5p7MaPvIg5AoeuwZOcmdrEw=; b=PHJp/b7rlKK0Lvt3B/bK5MABRRyGixJSTQM1CA6BntqGfvg+2cklIKn2zXxQnf11dF otqPbgUjTIE22NVprBu03gjOfvWEMbqApFZlhtKFJVYkb9ypQ+eVjhT25tYhrQBHef1g R9+bYT82+vR1d1jjMpJqNkELSqifjQeUf9KMWn9ZZ1xtEQCABimH0jdNGmG7HhyR5bGI h7d7NdIS/fJY1ZWXI4CKoaIyIHDIOOdbgbJlNEbQB20I2yYqIr7W5tvNSXdyeECtsey3 5s3bqezJsrna7jQkK0CpG4E7bS8q9AV15py9QyYPs7hn/TUd4PN1HqdjQEs/bfMvRosm b+MQ== X-Gm-Message-State: AOAM533TWs+Mmyg9/mu9Nm+oskQlACJaqYvyMItbFGa7zSm/VTiZcwBl l1OuglVM2NaQmcUuz+mQTZukOPiA3ID0gJ42 X-Google-Smtp-Source: ABdhPJzfkmzblLaXm0qjK1inE3Ltq/S+hYQlk/O4b87EqlhDV7tey7jK4iykc5G+p+xqIsdyunbYug== X-Received: by 2002:adf:f291:: with SMTP id k17mr453995wro.623.1643235664863; Wed, 26 Jan 2022 14:21:04 -0800 (PST) Received: from dell5510.arch.suse.de (gw1.ms-free.net. [185.243.124.10]) by smtp.gmail.com with ESMTPSA id r2sm627525wrz.99.2022.01.26.14.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 14:21:04 -0800 (PST) From: Petr Vorel To: devel@uclibc-ng.org Date: Wed, 26 Jan 2022 23:20:57 +0100 Message-Id: <20220126222057.6391-1-petr.vorel@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: RTWTSGV5HYYXK466N77455SLL6MY5FEA X-Message-ID-Hash: RTWTSGV5HYYXK466N77455SLL6MY5FEA X-MailFrom: petr.vorel@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Subject: [uclibc-ng-devel] [PATCH v2 1/1] sched.h: Add SCHED_DEADLINE List-Id: uClibc-ng Development Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Defined in kernel v3.14, commit aab03e05e8f7 ("sched/deadline: Add SCHED_DEADLINE structures & implementation") Signed-off-by: Petr Vorel --- Changes v1->v2: * fix patch title libc/sysdeps/linux/common/bits/sched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/sysdeps/linux/common/bits/sched.h b/libc/sysdeps/linux/common/bits/sched.h index 9d05314f5..18a9fb98d 100644 --- a/libc/sysdeps/linux/common/bits/sched.h +++ b/libc/sysdeps/linux/common/bits/sched.h @@ -31,6 +31,7 @@ #ifdef __USE_GNU # define SCHED_BATCH 3 # define SCHED_IDLE 5 +# define SCHED_DEADLINE 6 # define SCHED_RESET_ON_FORK 0x40000000 #endif