]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit570d125b9dfb40b09c7d297ab296648b6463357a
tree4f3a4be582896037df99a8e90f006da905cbc557
parent6babbbd564df35c77b7778994951559527586ba2
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