]> git.baikalelectronics.ru Git - kernel.git/commit
gru: dynamic allocation of kernel contexts
authorJack Steiner <steiner@sgi.com>
Wed, 17 Jun 2009 23:28:20 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:59 +0000 (13:03 -0700)
commitf8186d462373461ca7ab306951a80f58aa529032
tree7289e8489a7b4d5441a867be44ad152088517450
parentb8c6f12a8640619a0e717f8f1abfc8b0f0cf6c81
gru: dynamic allocation of kernel contexts

Change the interface to gru_alloc_gts() so that it can be used to allocate
GRU contexts for kernel threads.  Kernel threads do not have vdata
structures for the GRU contexts.  The GRU resource count are now passed
explicitly instead of inside the vdata structure.

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/grumain.c
drivers/misc/sgi-gru/grutables.h