]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Allow userspace to get at the machine description.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Aug 2007 04:02:23 +0000 (21:02 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 16 Aug 2007 04:02:23 +0000 (21:02 -0700)
commit405dc3809081e6ee36d8375f380fd39077be7621
treee6ad3272da135d92929a8ea7f920baa63c973d4a
parent19f1a5d9938b39c0b22bf91872bc3e6e82a9dfc8
[SPARC64]: Allow userspace to get at the machine description.

Like the OF device tree, it's useful to let userland get
at the machine description so it can pretty print the
graph etc.

The implementation is a simple MISC device with a read method.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/mdesc.c