Revert "perf/arm_dmc620: Remove duplicate format attribute #defines"
authorWill Deacon <will@kernel.org>
Wed, 13 Dec 2023 09:47:52 +0000 (09:47 +0000)
committerWill Deacon <will@kernel.org>
Wed, 13 Dec 2023 09:47:52 +0000 (09:47 +0000)
commiteb183b2cd0a6549992eca3c4ada0b1bc1d9340f5
tree560d4e34c5064642a52d44ddb68ab6c867c24cc5
parentbd690638e2c27dcea1d56376aa4bf3995d82ccfc
Revert "perf/arm_dmc620: Remove duplicate format attribute #defines"

This reverts commit a5f4ca68f348ac059efd6a3d7ad4040aed1c0818.

Pulling in the Arm-specific 'linux/perf/arm_pmu.h' header breaks the
allmodconfig build for x86:

> In file included from drivers/perf/arm_dmc620_pmu.c:26:
> include/linux/perf/arm_pmu.h:15:10: fatal error: asm/cputype.h: No such file or directory
>    15 | #include <asm/cputype.h>
>       |          ^~~~~~~~~~~~~~~

Just put things back like they were so that the driver can continue to
be compile-tested on a variety of architectures.

Link: https://lore.kernel.org/r/20231213100931.12d9d85e@canb.auug.org.au
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_dmc620_pmu.c