Re: [PATCH v3 1/2] arm64/arch_timer: include <linux/percpu.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 03 May 2024 17:18:46 +0000, Puranjay Mohan wrote:
> arch_timer.h includes linux/smp.h since the commit:
> 
>   6acc71ccac7187fc ("arm64: arch_timer: Allows a CPU-specific erratum to only affect a subset of CPUs")
> 
> It was included to use DEFINE_PER_CPU(), etc. But It should have
> included <linux/percpu.h> rather than <linux/smp.h>. It worked because
> smp.h includes percpu.h.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/2] arm64/arch_timer: include <linux/percpu.h>
      https://git.kernel.org/arm64/c/7647e2b109f4
[2/2] arm64: implement raw_smp_processor_id() using thread_info
      https://git.kernel.org/arm64/c/bf0baa5bbdc9

-- 
Catalin





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux