From patchwork Sat Sep 15 01:05:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 11450 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0F5A724049 for ; Sat, 15 Sep 2012 01:06:04 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 752C9A3C03A for ; Sat, 15 Sep 2012 01:06:03 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so3708685iaf.11 for ; Fri, 14 Sep 2012 18:06:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references:x-cbid :x-gm-message-state; bh=gPMAGa/wsChHUiMwZklBgAxzvAD1umFt3fZYj2eOeJE=; b=EeU+R3wNpIh9OiECV4IJTYFtzaLPCayTFS1PlkRjsaIKMASQ9Z5ukmhMGsvqIOoSEa Za84b38674y4J4i7sXw45tL0tcpvw0Iv3o1Sm5WOoH2VB7YH5T6UMf/R2ujxWkJwMF87 wfXBo17zKIn9mTThmw+ttd4v2gLHcyN8OZXIWYrrVWEGRzi8S2bKTFoMGJGT6AaKRkt1 pd/9HtGvq+2d1025O99mTveMVgTVAVFuVNBXOVkJGC5b4+2oTIEDMAId8uIKUYOwOfXL 9XDqkTCm91AEvH8/vmLgs0hvT6GO8jtGvcvhrkPqQakMknWy0UTo4vz7G0pqSfZOfH0x BSKA== Received: by 10.50.195.134 with SMTP id ie6mr263950igc.28.1347671163239; Fri, 14 Sep 2012 18:06:03 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp221027igc; Fri, 14 Sep 2012 18:06:02 -0700 (PDT) Received: by 10.236.79.100 with SMTP id h64mr6338399yhe.50.1347671162370; Fri, 14 Sep 2012 18:06:02 -0700 (PDT) Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com. [32.97.182.142]) by mx.google.com with ESMTPS id s8si3652120yhm.113.2012.09.14.18.06.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Sep 2012 18:06:02 -0700 (PDT) Received-SPF: neutral (google.com: 32.97.182.142 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=32.97.182.142; Authentication-Results: mx.google.com; spf=neutral (google.com: 32.97.182.142 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) smtp.mail=john.stultz@linaro.org Received: from /spool/local by e2.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 14 Sep 2012 21:06:01 -0400 Received: from d01relay01.pok.ibm.com (9.56.227.233) by e2.ny.us.ibm.com (192.168.1.102) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 14 Sep 2012 21:06:00 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q8F15xts132226; Fri, 14 Sep 2012 21:05:59 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q8F15uMh009675; Fri, 14 Sep 2012 22:05:59 -0300 Received: from kernel-pok.stglabs.ibm.com (kernel.stglabs.ibm.com [9.114.214.19]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q8F15rLv008890; Fri, 14 Sep 2012 22:05:55 -0300 From: John Stultz To: linux-kernel@vger.kernel.org Cc: John Stultz , Catalin Marinas , Arnd Bergmann , Richard Cochran , Prarit Bhargava , Thomas Gleixner Subject: [PATCH 1/3] jiffies: Kill unused TICK_USEC_TO_NSEC Date: Fri, 14 Sep 2012 21:05:28 -0400 Message-Id: <1347671130-22095-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347671130-22095-1-git-send-email-john.stultz@linaro.org> References: <1347671130-22095-1-git-send-email-john.stultz@linaro.org> x-cbid: 12091501-5112-0000-0000-00000C59C342 X-Gm-Message-State: ALoCoQnximH0dMHiBIebK+CdEtnDbuC9HK3FglIbEy2LSdSnKiPIWH5WGHun0+si46VgKqofdEbU No one is using TICK_USEC_TO_NSEC, so kill it. Cc: Catalin Marinas Cc: Arnd Bergmann Cc: Richard Cochran Cc: Prarit Bhargava Cc: Thomas Gleixner Signed-off-by: John Stultz --- include/linux/jiffies.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index 8268054..4a7e386 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h @@ -70,12 +70,6 @@ /* TICK_USEC is the time between ticks in usec assuming fake USER_HZ */ #define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ) -/* - * TICK_USEC_TO_NSEC is the time between ticks in nsec assuming SHIFTED_HZ and - * a value TUSEC for TICK_USEC (can be set bij adjtimex) - */ -#define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV(TUSEC * USER_HZ * 1000, SHIFTED_HZ, 8)) - /* some arch's have a small-data section that can be accessed register-relative * but that can only take up to, say, 4-byte variables. jiffies being part of * an 8-byte variable may not be correctly accessed unless we force the issue