From patchwork Sat Jun 24 18:24:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepa Dinamani X-Patchwork-Id: 9807857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5A24960329 for ; Sat, 24 Jun 2017 18:27:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47AB0269DA for ; Sat, 24 Jun 2017 18:27:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C95927FB7; Sat, 24 Jun 2017 18:27:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF34C269DA for ; Sat, 24 Jun 2017 18:27:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754739AbdFXS1l (ORCPT ); Sat, 24 Jun 2017 14:27:41 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35410 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbdFXS1k (ORCPT ); Sat, 24 Jun 2017 14:27:40 -0400 Received: by mail-pf0-f193.google.com with SMTP id s66so12200691pfs.2; Sat, 24 Jun 2017 11:27:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=r1CUWHKBXdtngFpa95LsvZE3Kn5Ngs8tWFQFNz9xBBM=; b=tlKneZYrAXBcTS1+qHaWR188iwVYA+E+ODpVs7XNGjEAyKhew9paBxWJ7ONvWIKkYi MHSALhZnRHZFDF01pFwjVPWku/CbmKkRiuujFUzNacJ2N6HEMssWkyr/PpgTiyP4WeQz H+NlLQiq5HrlolOy2unG38jaQ66t25UN6DwheHAJZjWES80d1FAtqkMx238d26YVvOkS u7C1TZOAsI4cviYeVrjDTYEjLwEfJJZviau2iy/BgxiWELTBxJrmAYf+1gUSLcM/GxFb sbrdfOMJ5xueW6wjBG7sRq0nFxk5QcyBNF3/hAgoBN/AQ8oLRHnRkeQ/JegK8BAP3oaS 5WTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=r1CUWHKBXdtngFpa95LsvZE3Kn5Ngs8tWFQFNz9xBBM=; b=k+K1Rq9WJxSdStbdiLUnXsDCcg1+c5pl9vldViCaeXCL2GEahQTaMbtiGXjDnFOr8j zVjKwSfUJqxxoBtGeBtfDuhde7lMydc2bLrkJ8PkqbHwwNfjT9BWFAl18deLG+UxAjKt ogiNdDQspwJrbBOS/kVPVrB9cg3TmOE8QEHiTY9qIinoDyQrt1G/RoIGGQsKKvQDw8lk 3RwZDKSmwSGNZxFJ+9Qw2LAvlSaaxEKRQulJxLPnDilrJtoT1A8xeJnCY1wxS//6YLuc YW2oMhX8ME51bLkXLtWqctODw8/Gu/LLY1nUavZ8F35re57uapGTiCNsH47BKP4pfUHm ItEQ== X-Gm-Message-State: AKS2vOxYVyzRan4APvarFQilXR+Ha8fA6MgbrrbFaRLpxNi1tm/NC4b0 q+6TZgFklU3QnBzd X-Received: by 10.98.24.202 with SMTP id 193mr11745513pfy.24.1498328859517; Sat, 24 Jun 2017 11:27:39 -0700 (PDT) Received: from localhost.localdomain ([2601:647:5000:6620:f5bf:c3b8:fb4d:c7d2]) by smtp.gmail.com with ESMTPSA id i5sm7128274pgr.40.2017.06.24.11.27.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Jun 2017 11:27:39 -0700 (PDT) From: Deepa Dinamani To: tglx@linutronix.de, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org Cc: john.stultz@linaro.org, nicolas.pitre@linaro.org, arnd@arndb.de, y2038@lists.linaro.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 3/7] posix-stubs: Conditionally include COMPAT_SYS_NI defines Date: Sat, 24 Jun 2017 11:24:23 -0700 Message-Id: <20170624182427.19375-4-deepa.kernel@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170624182427.19375-1-deepa.kernel@gmail.com> References: <20170624182427.19375-1-deepa.kernel@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These apis are only to be defined if CONFIG_COMPAT is enabled. Signed-off-by: Deepa Dinamani --- kernel/time/posix-stubs.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/time/posix-stubs.c b/kernel/time/posix-stubs.c index 38f3b20efa29..ac0a6b76ddd8 100644 --- a/kernel/time/posix-stubs.c +++ b/kernel/time/posix-stubs.c @@ -41,12 +41,6 @@ SYS_NI(setitimer); #ifdef __ARCH_WANT_SYS_ALARM SYS_NI(alarm); #endif -COMPAT_SYS_NI(timer_create); -COMPAT_SYS_NI(clock_adjtime); -COMPAT_SYS_NI(timer_settime); -COMPAT_SYS_NI(timer_gettime); -COMPAT_SYS_NI(getitimer); -COMPAT_SYS_NI(setitimer); /* * We preserve minimal support for CLOCK_REALTIME and CLOCK_MONOTONIC