Messages in this thread | | | Date | Wed, 22 Oct 2014 16:02:20 +0800 | From | Wang Nan <> | Subject | Re: [PATCH v2] perf tools: makes CPUINFO_PROC to array for different kernel version |
| |
On 2014/10/22 15:39, Wang Nan wrote: > euler inclusion > target: kernel 3.10 > category: bugfix > DTS: DTS2014101306477 > Bugzilla: 623 > directory: upstreamed > archive: https://lkml.org/lkml/2014/10/15/611 > > ---------------------------------------- >
Sorry, the header is for our internal use only.
Please ignore it and see
https://lkml.org/lkml/2014/10/22/85
Thanks.
> After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), > /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes > CPUINFO_PROC to an array and provides two choices for ARM, makes it > compatible for different kernel version. > > v1 -> v2: minor changes as suggested by Namhyung Kim: > > - Doesn't pass @h and @evlist to __write_cpudesc; > - Coding style fix. > > Signed-off-by: Wang Nan <wangnan0@huawei.com> > Cc: Namhyung Kim <namhyung@kernel.org>
| |