lkml.org 
[lkml]   [2014]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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>




\
 
 \ /
  Last update: 2014-10-22 10:41    [W:0.030 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site