[PATCH v7 01/19] ARM64: Move PMU register related defines to asm/pmu.h

Shannon Zhao shannon.zhao at linaro.org
Tue Dec 15 03:44:56 PST 2015



On 2015/12/15 19:34, Marc Zyngier wrote:
> On 15/12/15 08:49, Shannon Zhao wrote:
>> From: Shannon Zhao <shannon.zhao at linaro.org>
>>
>> To use the ARMv8 PMU related register defines from the KVM code,
>> we move the relevant definitions to asm/pmu.h header file.
>>
>> Signed-off-by: Anup Patel <anup.patel at linaro.org>
>> Signed-off-by: Shannon Zhao <shannon.zhao at linaro.org>
>> ---
>>   arch/arm64/include/asm/pmu.h   | 64 ++++++++++++++++++++++++++++++++++++++++++
>>   arch/arm64/kernel/perf_event.c | 36 +-----------------------
>>   2 files changed, 65 insertions(+), 35 deletions(-)
>>   create mode 100644 arch/arm64/include/asm/pmu.h
>>
>> diff --git a/arch/arm64/include/asm/pmu.h b/arch/arm64/include/asm/pmu.h
>> new file mode 100644
>> index 0000000..4264ea0
>> --- /dev/null
>> +++ b/arch/arm64/include/asm/pmu.h
>> @@ -0,0 +1,64 @@
>> +/*
>> + * Copyright (C) 2015 Linaro Ltd, Shannon Zhao
>
> Erm, not quite. You're simply moving existing code from one file to
> another. That doesn't change the copyright of said code, which reads:
>
>   * PMU support
>   *
>   * Copyright (C) 2012 ARM Limited
>   * Author: Will Deacon <will.deacon at arm.com>
>
> Please keep this mention in place.
>
Sure, will fix this. Thanks.

-- 
Shannon



More information about the linux-arm-kernel mailing list