clocksource/drivers/arm_arch_timer: Fix DEFINE_PER_CPU expansion 29/203229/1
authorMark Rutland <mark.rutland@arm.com>
Mon, 16 Oct 2017 15:28:39 +0000 (16:28 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 11 Apr 2019 03:33:26 +0000 (12:33 +0900)
commit8db0e8e150db6f3be4e4c9ac9c449b0c47ee9190
tree63e0434756e360824ad461c38866f247198f180d
parent7482750daa9a6a7e7edf32264cfeb2160d823b08
clocksource/drivers/arm_arch_timer: Fix DEFINE_PER_CPU expansion

Our ctags mangling script can't handle newlines inside of a
DEFINE_PER_CPU(), leading to an annoying message whenever tags are
built:

  ctags: Warning: drivers/clocksource/arm_arch_timer.c:302: null expansion of name pattern "\1"

This was dealt with elsewhere in commit:

  25528213fe9f75f4 ("tags: Fix DEFINE_PER_CPU expansions")

... by ensuring each DEFINE_PER_CPU() was contained on a single line,
even where this would violate the usual code style (checkpatch warnings
and all).

Let's do the same for the arch timer driver, and get rid of the
distraction.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
[sw0312.kim: cherry-pick mainline commit a7fb4577bbe3 to resolve warning on ctags build]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Id79bac4d2450f30c21b50cdf0de1be7fb3b1bbec
drivers/clocksource/arm_arch_timer.c