]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: expand MDESC interface
authorJag Raman <jag.raman@oracle.com>
Fri, 23 Jun 2017 18:58:32 +0000 (14:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 20:43:12 +0000 (13:43 -0700)
commit411cb4a0b3b12833731abc71059a7eeb04dc8477
treee7ce3d812c3753b21f13a4f2e7b1d727aab156ab
parent01b7a471382c529f60f5965ecfed9a14bfccf1ab
sparc64: expand MDESC interface

Add the following two APIs to Machine Description (MDESC)
- mdesc_get_node: Searches for a node in the Machine
  Description tree based on given information about
  that node.
- mdesc_get_node_info: Retrieves information about a
  given node.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/mdesc.h
arch/sparc/kernel/mdesc.c