lkml.org 
[lkml]   [2013]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/3 v6] cpufreq: Add debugfs directory for cpufreq
From
On Wed, Jul 24, 2013 at 11:44 AM, Chanwoo Choi <cw00.choi@samsung.com> wrote:
> I considered the parameter type of cpufreq_create_debugfs_symlink() and then
> I need following function declaration because this function didn't always need to
> create symbolic link to policy->cpu. This function declaration is capable of creating
> symbolic link as 'dest_cpu -> src_cpu'
>
> +static int cpufreq_create_debugfs_symlink(unsigned int src_cpu,
> + unsigned int dest_cpu)

You need policy structure as well, right? And src_cpu is always going to
be policy->cpu. So you can have policy and cpu as two parameters.. cpu
is dest cpu btw.


\
 
 \ /
  Last update: 2013-07-24 09:01    [W:0.071 / U:8.852 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site