From patchwork Mon Aug 25 23:58:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 382882 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C42741400AA for ; Tue, 26 Aug 2014 09:54:44 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 15785A0E4F; Mon, 25 Aug 2014 23:54:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EhyZbOPnRbNd; Mon, 25 Aug 2014 23:54:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9F192A0DE4; Mon, 25 Aug 2014 23:54:43 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B51981BFDBD for ; Mon, 25 Aug 2014 23:54:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B36BDA0B90 for ; Mon, 25 Aug 2014 23:54:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rp_sP3xw_jRL for ; Mon, 25 Aug 2014 23:54:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by fraxinus.osuosl.org (Postfix) with ESMTPS id CDB60A0E0B for ; Mon, 25 Aug 2014 23:54:38 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w10so21383554pde.37 for ; Mon, 25 Aug 2014 16:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FRRXqP3x3xCSAjyq97iZMJVivCPgWWHsxvtiep1ia00=; b=Y49uACY6rv1GEKNdvgJEQ08SC1b8erIVdGya7Jj+LTV1SZWCRETUwt84WCZGuLDuca ELVhYrPaUY3STmJxoJk7aDe8gMNyQ1wNtwoW+NE8a0NWLViKMW4ihjv+MZjjYaTyPUpi AQo3TLa0EPwI8oJI74Ftp+r7QL4rT3I7ruXxGKgmE5HOo+TZ7l77FkdVmYZlEIbMRkAr m9HYzq7prEF8ui4baqCp1BIZiOyG509D9EgPubmhbN/inHIRQfgDofkXKkrcGVbFtTKp LaYnaLGAh/x0zKYZPM57x2CcbZNFcUVS118kqKLV83uGq/Xbm+1XQ8V2RmmxFcZKnb9V HM/g== X-Received: by 10.68.197.40 with SMTP id ir8mr15022943pbc.139.1409010878542; Mon, 25 Aug 2014 16:54:38 -0700 (PDT) Received: from localhost.localdomain (c-98-207-177-218.hsd1.ca.comcast.net. [98.207.177.218]) by mx.google.com with ESMTPSA id pn13sm1605114pdb.53.2014.08.25.16.54.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 16:54:38 -0700 (PDT) From: Khem Raj To: uclibc@uclibc.org Subject: [PATCH 2/2] timex: Sync with glibc Date: Mon, 25 Aug 2014 16:58:13 -0700 Message-Id: <1409011093-8042-2-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1409011093-8042-1-git-send-email-raj.khem@gmail.com> References: <1409011093-8042-1-git-send-email-raj.khem@gmail.com> X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: uclibc-bounces@uclibc.org Sender: uclibc-bounces@uclibc.org Signed-off-by: Khem Raj --- include/sys/timex.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/sys/timex.h b/include/sys/timex.h index 9082a28..57059bd 100644 --- a/include/sys/timex.h +++ b/include/sys/timex.h @@ -67,8 +67,12 @@ struct timex #define ADJ_ESTERROR 0x0008 /* estimated time error */ #define ADJ_STATUS 0x0010 /* clock status */ #define ADJ_TIMECONST 0x0020 /* pll time constant */ -#define ADJ_TICK 0x4000 /* tick value */ -#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ +#define ADJ_TAI 0x0080 /* set TAI offset */ +#define ADJ_MICRO 0x1000 /* select microsecond resolution */ +#define ADJ_NANO 0x2000 /* select nanosecond resolution */ +#define ADJ_TICK 0x4000 /* tick value */ +#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */ +#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */ /* xntp 3.4 compatibility names */ #define MOD_OFFSET ADJ_OFFSET