Compile tested.
task_struct->signal is not protected by RCU, the code is bogus.
Change the code to take ->siglock to pin ->signal.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Arve Hjønnevåg <[email protected]>
Cc: Brian Swetland <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
ktime_t isn't ment to directly access on all arches, so use the proper
conversion functions instead to figure out what time is remaining.
Reported-by: Randy Dunlap <[email protected]>
Cc: Arve Hjønnevåg <[email protected]>
Cc: Mike Lockwood <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This fixes the build errors and warnings in the binder driver. It can't
be a module, due to a lack of some of the symbols being exported.
Also added a MODULE_LICENSE(), as it was missing.
Cc: Arve Hjønnevåg <[email protected]>
Cc: Brian Swetland <[email protected]>
Cc: Robert Love <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
There are files now in the drivers/staging/android/ directory, so the
dummy android.c file can be safely removed.
Cc: Robert Love <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Doesn't quite link properly under all configurations, and it has way too
many different build options, but it's a start.
Signed-off-by: Arve Hjønnevåg <[email protected]>
Signed-off-by: Brian Swetland <[email protected]>
Cc: Robert Love <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
It builds, but not as a module, and with lots of warnings.
I also had to fix up a few syntax errors to get it to build
properly, I'm doubting that anyone has built it in a while :(
Signed-off-by: Arve Hjønnevåg <[email protected]>
Signed-off-by: Brian Swetland <[email protected]>
Cc: Robert Love <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This prepares us to start adding the android drivers
to the build.
The dummy android.c file will go away in the next few patches, as it
will not be needed once drivers/staging/android/ has a driver in it.
Cc: Robert Love <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>