From patchwork Wed Aug 31 11:52:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 9307013 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 9E09C60487 for ; Wed, 31 Aug 2016 11:53:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F74028E9C for ; Wed, 31 Aug 2016 11:53:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83EFD28ED6; Wed, 31 Aug 2016 11:53:02 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham 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 85DC028E9C for ; Wed, 31 Aug 2016 11:53:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933735AbcHaLw6 (ORCPT ); Wed, 31 Aug 2016 07:52:58 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:38198 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932616AbcHaLw5 (ORCPT ); Wed, 31 Aug 2016 07:52:57 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1bf44c-0005dO-Qq from Vladimir_Zapolskiy@mentor.com ; Wed, 31 Aug 2016 04:52:55 -0700 Received: from eyas.local (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 31 Aug 2016 12:52:53 +0100 From: Vladimir Zapolskiy To: Wim Van Sebroeck , Guenter Roeck , Wolfram Sang CC: , Wolfram Sang , Alexander Viro , Subject: [PATCH v5 02/10] fs: compat_ioctl: add pretimeout functions for watchdogs Date: Wed, 31 Aug 2016 14:52:42 +0300 Message-ID: <1472644370-16982-3-git-send-email-vladimir_zapolskiy@mentor.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1472644370-16982-1-git-send-email-vladimir_zapolskiy@mentor.com> References: <1472644370-16982-1-git-send-email-vladimir_zapolskiy@mentor.com> MIME-Version: 1.0 X-Originating-IP: [137.202.0.76] 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 From: Wolfram Sang Watchdog core now handles those ioctls centrally, so we want 64 bit support, too. Signed-off-by: Wolfram Sang Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org Signed-off-by: Vladimir Zapolskiy Acked-by: Guenter Roeck --- Changes from v4 to v5: * none Changes from v3 to v4: * included back to the main series as it was done in v2, * added Acked-by: Guenter tag Changes from v2 to v3: * none (not published) Changes from v1 to v2: * none fs/compat_ioctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index c1e9f29c924c..f2d7402abe02 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1209,6 +1209,8 @@ COMPATIBLE_IOCTL(WDIOC_SETOPTIONS) COMPATIBLE_IOCTL(WDIOC_KEEPALIVE) COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) +COMPATIBLE_IOCTL(WDIOC_SETPRETIMEOUT) +COMPATIBLE_IOCTL(WDIOC_GETPRETIMEOUT) /* Big R */ COMPATIBLE_IOCTL(RNDGETENTCNT) COMPATIBLE_IOCTL(RNDADDTOENTCNT)