]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
gru: fix bug in allocation of kernel contexts
authorJack Steiner <steiner@sgi.com>
Wed, 16 Dec 2009 00:48:17 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:16 +0000 (07:20 -0800)
commit0cd2b0813aac660f5f7a6574083157a70c152dd5
tree906bf285391bf3d9ad72f9c94838fbb067453ec4
parent5658366ab55cccab24b4799b3ff8e94bdc1cc529
gru: fix bug in allocation of kernel contexts

Fix a bug in the assignment of GRU contexts used for kernel functions.  If
a sleep occurs on the wait for a semaphore, the thread could switch cpus
and allocate resources on the wrong blade.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/sgi-gru/grukservices.c