sh: Show all clocks and their state in /proc/clocks
authorMagnus Damm <damm@igel.co.jp>
Thu, 17 Jul 2008 10:05:54 +0000 (19:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:36 +0000 (18:10 +0900)
commit152fe36ebee82b63a9c6e510c52aaa82f4b1940d
tree4f3a4be582896037df99a8e90f006da905cbc557
parent1312994c8008d66806d9452c15d50df86a031437
sh: Show all clocks and their state in /proc/clocks

Show all clocks in /proc/clocks, and also show if they are enabled or
disabled. This is useful to show MSTPCR bits on SuperH Mobile processors.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c