Hi Yong,
> >> +static int __init clk_debugfs_init(void)
> >> +{
> >> + struct preinit_clk *pclk, *tmp;
> >> +
> >> + if (debugfs_initialized())
> >> + init_done = 1;
> >
> > No need to check debugfs_initialised() here; if it's not initialised
> > we're in trouble anyway.
>
>
hi Jeremy,
It's nice to be close :).
And it seems that many people in arm kernel list are also intested in
the clock debug information, maybe we can post next version to that
list and let them know how things are going.
On Thu, Dec 9, 2010 at 10:02 AM, Jeremy Kerr wrote:
> Hi Yong,
>
> We're get
Hi Yong,
We're getting pretty close - just a couple of changes:
> + } else {
> + struct preinit_clk *p;
> + mutex_lock(&preinit_lock);
> + p = kmalloc(sizeof(*p), GFP_KERNEL);
> + if (!p)
> + goto unlock;
> +
0/9/27/4624656/thread
> for a random example.
>
> Regards,
> Amit
>
>> From efe7fa8bea67f9bf532c0074a92d938e6d6f4c5d Mon Sep 17 00:00:00 2001
>> From: Yong Shen
>> Date: Thu, 18 Nov 2010 14:54:49 +0800
>> Subject: [PATCH] export clock debug information to user space
&g
angelog.
See http://kerneltrap.org/mailarchive/linux-kernel/2010/9/27/4624656/thread
for a random example.
Regards,
Amit
> From efe7fa8bea67f9bf532c0074a92d938e6d6f4c5d Mon Sep 17 00:00:00 2001
> From: Yong Shen
> Date: Thu, 18 Nov 2010 14:54:49 +0800
> Subject: [PATCH] export clock d
Hi Jeremy,
This is latest one for review. I add some minor changes in.
Cheers
Yong
>From efe7fa8bea67f9bf532c0074a92d938e6d6f4c5d Mon Sep 17 00:00:00 2001
From: Yong Shen
Date: Thu, 18 Nov 2010 14:54:49 +0800
Subject: [PATCH] export clock debug information to user space
create a tree-l