diff options
| author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-05-15 19:29:03 -0400 |
|---|---|---|
| committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-05-15 19:29:03 -0400 |
| commit | 2ddfb39795ef54769d064aaba6f1ba8c09d61614 (patch) | |
| tree | fd22fa6b67191b86edf3e25078f1bdf927d6917e /kernel/softirq.c | |
| parent | 6827bb817faecede51838e2fcc8b6283e54fe872 (diff) | |
experimental changes to support GPUs under SRPwip-gpu-rtss12-srp
Seems to fail due to locking within GPU driver.
Diffstat (limited to 'kernel/softirq.c')
| -rw-r--r-- | kernel/softirq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 5ce271675662..6bb63ac9dbd4 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
| @@ -445,10 +445,11 @@ void __tasklet_schedule(struct tasklet_struct *t) | |||
| 445 | #ifdef CONFIG_LITMUS_NVIDIA | 445 | #ifdef CONFIG_LITMUS_NVIDIA |
| 446 | if(is_nvidia_func(t->func)) | 446 | if(is_nvidia_func(t->func)) |
| 447 | { | 447 | { |
| 448 | #if 0 | 448 | #if 1 |
| 449 | // do nvidia tasklets right away and return | 449 | // do nvidia tasklets right away and return |
| 450 | if(__do_nv_now(t)) | 450 | if(likely(_litmus_tasklet_schedule(t,0))) { |
| 451 | return; | 451 | return; |
| 452 | } | ||
| 452 | #else | 453 | #else |
| 453 | u32 nvidia_device = get_tasklet_nv_device_num(t); | 454 | u32 nvidia_device = get_tasklet_nv_device_num(t); |
| 454 | // TRACE("%s: Handling NVIDIA tasklet for device\t%u\tat\t%llu\n", | 455 | // TRACE("%s: Handling NVIDIA tasklet for device\t%u\tat\t%llu\n", |
