get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/2221840/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2221840,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221840/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/sparclinux/patch/20260410120317.910770161@kernel.org/",
    "project": {
        "id": 10,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/10/?format=api",
        "name": "Linux SPARC Development ",
        "link_name": "sparclinux",
        "list_id": "sparclinux.vger.kernel.org",
        "list_email": "sparclinux@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260410120317.910770161@kernel.org>",
    "list_archive_url": null,
    "date": "2026-04-10T12:18:52",
    "name": "[05/38] treewide: Remove CLOCK_TICK_RATE",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d30e6364d11b7a8c2639d854448527410e0f3bf3",
    "submitter": {
        "id": 92397,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/92397/?format=api",
        "name": "Thomas Gleixner",
        "email": "tglx@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/sparclinux/patch/20260410120317.910770161@kernel.org/mbox/",
    "series": [
        {
            "id": 499450,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/499450/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/sparclinux/list/?series=499450",
            "date": "2026-04-10T12:18:27",
            "name": "treewide: Cleanup LATCH, CLOCK_TICK_RATE and get_cycles() [ab]use",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499450/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221840/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221840/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <SRS0=ouXy=CJ=vger.kernel.org=sparclinux+bounces-6653-patchwork-incoming=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "sparclinux@vger.kernel.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "patchwork-incoming@ozlabs.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=LfuXj06c;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=150.107.74.76; helo=mail.ozlabs.org;\n envelope-from=srs0=ouxy=cj=vger.kernel.org=sparclinux+bounces-6653-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=104.64.211.4 arc.chain=subspace.kernel.org",
            "gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org",
            "gandalf.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=LfuXj06c;\n\tdkim-atps=neutral",
            "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=sparclinux+bounces-6653-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"LfuXj06c\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fsbYF4BX6z1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 22:22:57 +1000 (AEST)",
            "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4fsbYF3lfRz4wJS\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 22:22:57 +1000 (AEST)",
            "by gandalf.ozlabs.org (Postfix)\n\tid 4fsbYF3gjJz4w26; Fri, 10 Apr 2026 22:22:57 +1000 (AEST)",
            "from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby gandalf.ozlabs.org (Postfix) with ESMTPS id 4fsbYB0QSkz4wTc\n\tfor <patchwork-incoming@ozlabs.org>; Fri, 10 Apr 2026 22:22:54 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id E063C3048FA0\n\tfor <patchwork-incoming@ozlabs.org>; Fri, 10 Apr 2026 12:19:39 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id C4ED83C8719;\n\tFri, 10 Apr 2026 12:18:56 +0000 (UTC)",
            "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 97B9A3BD64E;\n\tFri, 10 Apr 2026 12:18:56 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 2ABB2C2BCB0;\n\tFri, 10 Apr 2026 12:18:55 +0000 (UTC)"
        ],
        "ARC-Seal": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1775823777; cv=pass;\n\tb=SOqF0HCe+fuooTHDEEkzQfQZ8gb5FGMsVGdQ3zz9Yx5WQCmV1ZSUCYSudkh6fOH/DhNE5JNYRIhexIs/mF6YkiG0qbHEXRLPf2t0e4JR0UG/z/p5P3SBSpsRQmlpTESLQSBk4QySvf4sSE5ZAf3uKKoOVW5cGVz7nNYxAu1e2iQsiDpIaTkDpCUeqzY10jLb1rlqHS7+fBE/svKzr1LHl67Tz+65Q1rK9HQUfP1gneQKTUyPkJmvppKGV/E/M/qGK3TlE/AQXvuwmz/xenMRko++hKvqVWJ1IakYVjUcpimR87ezjX4O84K9VpHQc1xm+3MbrzyN8Vk6xZHhUnaZiA==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775823536; cv=none;\n b=W1Qr3EFm5UGIa8+7VGnvp+jyjq5XcRJmCSUT3OjmmaLcA7t1LGusJKtmdnEL/coTVvLqd3A/QvbHhvQsPsfRtj/zh3JZIdy7/4XefjCy31AB/F81YjtOBJ6DotylwWSk35xFRGUR1yM2OPQVL8rYqSxiBeNYBpEqT3colElxGSo="
        ],
        "ARC-Message-Signature": [
            "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1775823777; c=relaxed/relaxed;\n\tbh=PxjGpSuH6k0aliX5vEQgtYlYC1MRnJEQUQbbGFxwl7s=;\n\th=Date:Message-ID:From:To:Subject:References:MIME-Version:\n\t Content-Type:cc;\n b=tGhnNPKPU3OoiABrGVt6hx9fsalB3OOmlA+WumlY/HNz5WrguaGzbj/AqZPDpw1gndtMrznx4XaMVzgmqmymD2Nf3LpE+l7yNe9QytYXOS6q/ov081KvjQnQBwWQRHAETb8O5/Vw3fS0r8zoXRYfRbRk3vaEyPX8J+eJAoufQoT85DbOkabTSXOfvoAQVsKemU1SC7cejUPFaHnPGl9xzNz7R465EaeX0sM2CyUvbvIngd6qCL1vpKL+vaD5BSPGhik/bJDqo0mSQcr6rfR+Mf1fAIVPNYYf2/qGkhj5/L+KoPZLSTxMP5Kko+TRA+3LicwMbrpod8Jd3oKlh0/50Q==",
            "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775823536; c=relaxed/simple;\n\tbh=5QVlF6IfS2lfQjmpis0ghbno4R+SPdTSC+UKXWlrbwM=;\n\th=Date:Message-ID:From:To:Subject:References:MIME-Version:\n\t Content-Type:cc;\n b=s+jMIW8X6tv3SR24xiHvCQIVb+RnsoalvkJ5hSvifaCBT8VZmF5FUBosC33gZrsItSzgWWQzimEbjDTQCv95E7wfNws8fbCoRG/BlSh6MBYeikgyplc/qkgUluYJSbGi638+SpUIAfpx4JK2ZRDii0yvyWjFuyfqNtBrQQPIL98="
        ],
        "ARC-Authentication-Results": [
            "i=2; gandalf.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=LfuXj06c; dkim-atps=neutral;\n spf=pass (client-ip=104.64.211.4; helo=sin.lore.kernel.org;\n envelope-from=sparclinux+bounces-6653-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org",
            "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=LfuXj06c; arc=none smtp.client-ip=10.30.226.201"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1775823536;\n\tbh=5QVlF6IfS2lfQjmpis0ghbno4R+SPdTSC+UKXWlrbwM=;\n\th=Date:From:To:Subject:References:cc:From;\n\tb=LfuXj06c5pJdrLIRQZOGGUnvC0/7H7T958xB88dpTHpJCnzTPWKuOvuVXAdy6Ak37\n\t q3NsmsuJzmcCS4AtrQC6BBqMKLBV6i7NYvY31kVUwAJ1fUk5DiH1UvcZhqx6Zvfgxu\n\t CGnnZL59E7B5pPEKoSA2vv7lFrz68ryBNvlt7/he9gTUf+7cGk/WAoXUpUjNZe0UmE\n\t dP1W1cGxClFkhCm5BU3vACeJkyoHuX3oJ0uOmck90IwaQnQkpQKPURmYasy2VBvUvQ\n\t oOQV5XFs6UHn87rkBmH0n2LYh6YtwROpX/B/rCdI1TFAoh7Z5miPuEptvyhsFFD5GH\n\t nRoQ9tRI1uYXg==",
        "Date": "Fri, 10 Apr 2026 14:18:52 +0200",
        "Message-ID": "<20260410120317.910770161@kernel.org>",
        "User-Agent": "quilt/0.68",
        "From": "Thomas Gleixner <tglx@kernel.org>",
        "To": "LKML <linux-kernel@vger.kernel.org>",
        "Subject": "[patch 05/38] treewide: Remove CLOCK_TICK_RATE",
        "References": "<20260410120044.031381086@kernel.org>",
        "Precedence": "bulk",
        "X-Mailing-List": "sparclinux@vger.kernel.org",
        "List-Id": "<sparclinux.vger.kernel.org>",
        "List-Subscribe": "<mailto:sparclinux+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:sparclinux+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "cc": "Arnd Bergmann <arnd@arndb.de>,\n x86@kernel.org,\n Lu Baolu <baolu.lu@linux.intel.com>,\n iommu@lists.linux.dev,\n Michael Grzeschik <m.grzeschik@pengutronix.de>,\n netdev@vger.kernel.org,\n linux-wireless@vger.kernel.org,\n Herbert Xu <herbert@gondor.apana.org.au>,\n linux-crypto@vger.kernel.org,\n Vlastimil Babka <vbabka@kernel.org>,\n linux-mm@kvack.org,\n David Woodhouse <dwmw2@infradead.org>,\n Bernie Thompson <bernie@plugable.com>,\n linux-fbdev@vger.kernel.org,\n \"Theodore Tso\" <tytso@mit.edu>,\n linux-ext4@vger.kernel.org,\n Andrew Morton <akpm@linux-foundation.org>,\n Uladzislau Rezki <urezki@gmail.com>,\n Marco Elver <elver@google.com>,\n Dmitry Vyukov <dvyukov@google.com>,\n kasan-dev@googlegroups.com,\n Andrey Ryabinin <ryabinin.a.a@gmail.com>,\n Thomas Sailer <t.sailer@alumni.ethz.ch>,\n linux-hams@vger.kernel.org,\n \"Jason A. Donenfeld\" <Jason@zx2c4.com>,\n Richard Henderson <richard.henderson@linaro.org>,\n linux-alpha@vger.kernel.org,\n Russell King <linux@armlinux.org.uk>,\n linux-arm-kernel@lists.infradead.org,\n Catalin Marinas <catalin.marinas@arm.com>,\n Huacai Chen <chenhuacai@kernel.org>,\n loongarch@lists.linux.dev,\n Geert Uytterhoeven <geert@linux-m68k.org>,\n linux-m68k@lists.linux-m68k.org,\n Dinh Nguyen <dinguyen@kernel.org>,\n Jonas Bonn <jonas@southpole.se>,\n linux-openrisc@vger.kernel.org,\n Helge Deller <deller@gmx.de>,\n linux-parisc@vger.kernel.org,\n Michael Ellerman <mpe@ellerman.id.au>,\n linuxppc-dev@lists.ozlabs.org,\n Paul Walmsley <pjw@kernel.org>,\n linux-riscv@lists.infradead.org,\n Heiko Carstens <hca@linux.ibm.com>,\n linux-s390@vger.kernel.org,\n \"David S. Miller\" <davem@davemloft.net>,\n sparclinux@vger.kernel.org",
        "X-Spam-Status": "No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,\n\tMAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org"
    },
    "content": "This has been scheduled for removal more than a decade ago and the comments\nrelated to it have been dutifully ignored. The last dependencies are gone.\n\nRemove it along with various now empty asm/timex.h files.\n\nSigned-off-by: Thomas Gleixner <tglx@kernel.org>\n---\n arch/alpha/include/asm/timex.h      |    4 ----\n arch/arc/include/asm/timex.h        |   15 ---------------\n arch/arm/mach-omap1/Kconfig         |    2 +-\n arch/hexagon/include/asm/timex.h    |    3 ---\n arch/m68k/include/asm/timex.h       |   15 ---------------\n arch/microblaze/include/asm/timex.h |   13 -------------\n arch/mips/include/asm/timex.h       |    8 --------\n arch/openrisc/include/asm/timex.h   |    3 ---\n arch/parisc/include/asm/timex.h     |    2 --\n arch/powerpc/include/asm/timex.h    |    2 --\n arch/s390/include/asm/timex.h       |    2 --\n arch/sh/include/asm/timex.h         |   24 ------------------------\n arch/sparc/include/asm/timex.h      |    2 +-\n arch/sparc/include/asm/timex_32.h   |   14 --------------\n arch/sparc/include/asm/timex_64.h   |    2 --\n arch/um/include/asm/timex.h         |    9 ---------\n arch/x86/include/asm/timex.h        |    3 ---\n 17 files changed, 2 insertions(+), 121 deletions(-)",
    "diff": "--- a/arch/alpha/include/asm/timex.h\n+++ b/arch/alpha/include/asm/timex.h\n@@ -7,10 +7,6 @@\n #ifndef _ASMALPHA_TIMEX_H\n #define _ASMALPHA_TIMEX_H\n \n-/* With only one or two oddballs, we use the RTC as the ticker, selecting\n-   the 32.768kHz reference clock, which nicely divides down to our HZ.  */\n-#define CLOCK_TICK_RATE\t32768\n-\n /*\n  * Standard way to access the cycle counter.\n  * Currently only used on SMP for scheduling.\n--- a/arch/arc/include/asm/timex.h\n+++ /dev/null\n@@ -1,15 +0,0 @@\n-/* SPDX-License-Identifier: GPL-2.0-only */\n-/*\n- * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)\n- */\n-\n-#ifndef _ASM_ARC_TIMEX_H\n-#define _ASM_ARC_TIMEX_H\n-\n-#define CLOCK_TICK_RATE\t80000000 /* slated to be removed */\n-\n-#include <asm-generic/timex.h>\n-\n-/* XXX: get_cycles() to be implemented with RTSC insn */\n-\n-#endif /* _ASM_ARC_TIMEX_H */\n--- a/arch/arm/mach-omap1/Kconfig\n+++ b/arch/arm/mach-omap1/Kconfig\n@@ -74,7 +74,7 @@ config OMAP_32K_TIMER\n \t  currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.\n \n \t  On OMAP2PLUS this value is only used for CONFIG_HZ and\n-\t  CLOCK_TICK_RATE compile time calculation.\n+\t  timer frequency compile time calculation.\n \t  The actual timer selection is done in the board file\n \t  through the (DT_)MACHINE_START structure.\n \n--- a/arch/hexagon/include/asm/timex.h\n+++ b/arch/hexagon/include/asm/timex.h\n@@ -9,9 +9,6 @@\n #include <asm-generic/timex.h>\n #include <asm/hexagon_vm.h>\n \n-/* Using TCX0 as our clock.  CLOCK_TICK_RATE scheduled to be removed. */\n-#define CLOCK_TICK_RATE              19200\n-\n #define ARCH_HAS_READ_CURRENT_TIMER\n \n static inline int read_current_timer(unsigned long *timer_val)\n--- a/arch/m68k/include/asm/timex.h\n+++ b/arch/m68k/include/asm/timex.h\n@@ -7,21 +7,6 @@\n #ifndef _ASMm68K_TIMEX_H\n #define _ASMm68K_TIMEX_H\n \n-#ifdef CONFIG_COLDFIRE\n-/*\n- * CLOCK_TICK_RATE should give the underlying frequency of the tick timer\n- * to make ntp work best.  For Coldfires, that's the main clock.\n- */\n-#include <asm/coldfire.h>\n-#define CLOCK_TICK_RATE\tMCF_CLK\n-#else\n-/*\n- * This default CLOCK_TICK_RATE is probably wrong for many 68k boards\n- * Users of those boards will need to check and modify accordingly\n- */\n-#define CLOCK_TICK_RATE\t1193180 /* Underlying HZ */\n-#endif\n-\n typedef unsigned long cycles_t;\n \n static inline cycles_t get_cycles(void)\n--- a/arch/microblaze/include/asm/timex.h\n+++ /dev/null\n@@ -1,13 +0,0 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n-/*\n- * Copyright (C) 2006 Atmark Techno, Inc.\n- */\n-\n-#ifndef _ASM_MICROBLAZE_TIMEX_H\n-#define _ASM_MICROBLAZE_TIMEX_H\n-\n-#include <asm-generic/timex.h>\n-\n-#define CLOCK_TICK_RATE 1000 /* Timer input freq. */\n-\n-#endif /* _ASM_TIMEX_H */\n--- a/arch/mips/include/asm/timex.h\n+++ b/arch/mips/include/asm/timex.h\n@@ -19,14 +19,6 @@\n #include <asm/cpu-type.h>\n \n /*\n- * This is the clock rate of the i8253 PIT.  A MIPS system may not have\n- * a PIT by the symbol is used all over the kernel including some APIs.\n- * So keeping it defined to the number for the PIT is the only sane thing\n- * for now.\n- */\n-#define CLOCK_TICK_RATE 1193182\n-\n-/*\n  * Standard way to access the cycle counter.\n  * Currently only used on SMP for scheduling.\n  *\n--- a/arch/openrisc/include/asm/timex.h\n+++ b/arch/openrisc/include/asm/timex.h\n@@ -25,9 +25,6 @@ static inline cycles_t get_cycles(void)\n }\n #define get_cycles get_cycles\n \n-/* This isn't really used any more */\n-#define CLOCK_TICK_RATE 1000\n-\n #define ARCH_HAS_READ_CURRENT_TIMER\n \n #endif\n--- a/arch/parisc/include/asm/timex.h\n+++ b/arch/parisc/include/asm/timex.h\n@@ -9,8 +9,6 @@\n \n #include <asm/special_insns.h>\n \n-#define CLOCK_TICK_RATE\t1193180 /* Underlying HZ */\n-\n typedef unsigned long cycles_t;\n \n static inline cycles_t get_cycles(void)\n--- a/arch/powerpc/include/asm/timex.h\n+++ b/arch/powerpc/include/asm/timex.h\n@@ -11,8 +11,6 @@\n #include <asm/cputable.h>\n #include <asm/vdso/timebase.h>\n \n-#define CLOCK_TICK_RATE\t1024000 /* Underlying HZ */\n-\n typedef unsigned long cycles_t;\n \n static inline cycles_t get_cycles(void)\n--- a/arch/s390/include/asm/timex.h\n+++ b/arch/s390/include/asm/timex.h\n@@ -177,8 +177,6 @@ static inline void local_tick_enable(uns\n \tset_clock_comparator(get_lowcore()->clock_comparator);\n }\n \n-#define CLOCK_TICK_RATE\t\t1193180 /* Underlying HZ */\n-\n typedef unsigned long cycles_t;\n \n static __always_inline unsigned long get_tod_clock(void)\n--- a/arch/sh/include/asm/timex.h\n+++ /dev/null\n@@ -1,24 +0,0 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n-/*\n- * linux/include/asm-sh/timex.h\n- *\n- * sh architecture timex specifications\n- */\n-#ifndef __ASM_SH_TIMEX_H\n-#define __ASM_SH_TIMEX_H\n-\n-/*\n- * Only parts using the legacy CPG code for their clock framework\n- * implementation need to define their own Pclk value. If provided, this\n- * can be used for accurately setting CLOCK_TICK_RATE, otherwise we\n- * simply fall back on the i8253 PIT value.\n- */\n-#ifdef CONFIG_SH_PCLK_FREQ\n-#define CLOCK_TICK_RATE\t\t(CONFIG_SH_PCLK_FREQ / 4) /* Underlying HZ */\n-#else\n-#define CLOCK_TICK_RATE\t\t1193180\n-#endif\n-\n-#include <asm-generic/timex.h>\n-\n-#endif /* __ASM_SH_TIMEX_H */\n--- a/arch/sparc/include/asm/timex.h\n+++ b/arch/sparc/include/asm/timex.h\n@@ -4,6 +4,6 @@\n #if defined(__sparc__) && defined(__arch64__)\n #include <asm/timex_64.h>\n #else\n-#include <asm/timex_32.h>\n+#include <asm-generic/timex.h>\n #endif\n #endif\n--- a/arch/sparc/include/asm/timex_32.h\n+++ /dev/null\n@@ -1,14 +0,0 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n-/*\n- * linux/include/asm/timex.h\n- *\n- * sparc architecture timex specifications\n- */\n-#ifndef _ASMsparc_TIMEX_H\n-#define _ASMsparc_TIMEX_H\n-\n-#define CLOCK_TICK_RATE\t1193180 /* Underlying HZ */\n-\n-#include <asm-generic/timex.h>\n-\n-#endif\n--- a/arch/sparc/include/asm/timex_64.h\n+++ b/arch/sparc/include/asm/timex_64.h\n@@ -9,8 +9,6 @@\n \n #include <asm/timer.h>\n \n-#define CLOCK_TICK_RATE\t1193180 /* Underlying HZ */\n-\n /* Getting on the cycle counter on sparc64. */\n typedef unsigned long cycles_t;\n #define get_cycles()\ttick_ops->get_tick()\n--- a/arch/um/include/asm/timex.h\n+++ /dev/null\n@@ -1,9 +0,0 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n-#ifndef __UM_TIMEX_H\n-#define __UM_TIMEX_H\n-\n-#define CLOCK_TICK_RATE (HZ)\n-\n-#include <asm-generic/timex.h>\n-\n-#endif\n--- a/arch/x86/include/asm/timex.h\n+++ b/arch/x86/include/asm/timex.h\n@@ -14,9 +14,6 @@ static inline unsigned long random_get_e\n }\n #define random_get_entropy random_get_entropy\n \n-/* Assume we use the PIT time source for the clock tick */\n-#define CLOCK_TICK_RATE\t\tPIT_TICK_RATE\n-\n #define ARCH_HAS_READ_CURRENT_TIMER\n \n #endif /* _ASM_X86_TIMEX_H */\n",
    "prefixes": [
        "05/38"
    ]
}