]> err.no Git - linux-2.6/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)
commit0fdb7f96d8c27e37ed2ca1ae5a763baf14b8fe0c
treee6ad3272da135d92929a8ea7f920baa63c973d4a
parent70b0e7a919b7961285c685a87928ed78c9fb07f0
[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