]> git.karo-electronics.de Git - linux-beck.git/commit
staging: ti dspbridge: use node id instead of kernel address
authorErnesto Ramos <ernesto@ti.com>
Wed, 28 Jul 2010 21:04:53 +0000 (16:04 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 Aug 2010 00:11:02 +0000 (17:11 -0700)
commit0624f52f77e11a6edfc48827a12190f874d572b8
treef937621ed5b31f83af7ac6f23b4340c672c2a74a
parent35f338e4f2fcd2614f6fdff33f38920cf9434f86
staging: ti dspbridge: use node id instead of kernel address

Use idr kernel library to send/receive node ids to the
user instead of kernel address.
This id will be use to access the node handles at the
kernel side, if id does not match to any handle
error -EFAULT is returned.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/include/dspbridge/drv.h
drivers/staging/tidspbridge/include/dspbridge/node.h
drivers/staging/tidspbridge/include/dspbridge/resourcecleanup.h
drivers/staging/tidspbridge/pmgr/dspapi.c
drivers/staging/tidspbridge/rmgr/drv.c
drivers/staging/tidspbridge/rmgr/drv_interface.c
drivers/staging/tidspbridge/rmgr/node.c