]> git.baikalelectronics.ru Git - kernel.git/commit
gru: support cch_allocate for kernel threads
authorJack Steiner <steiner@sgi.com>
Wed, 17 Jun 2009 23:28:21 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:59 +0000 (13:03 -0700)
commitae6527e5aec65ffdcd3540ccd896eae7daf07f16
tree4c19d2cbbd2d3f1cd429946120c078b653ae67b3
parent284d413dfca84be1db612de14965ca55efa9382c
gru: support cch_allocate for kernel threads

Change the interface to cch_allocate so that it can be used to allocate
GRU contexts for kernel threads.  Kernel threads use the GRU in unmapped
mode and do not require ASIDs for the GRU TLB.

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