]> git.baikalelectronics.ru Git - kernel.git/commit
gru: support contexts with zero dsrs or cbrs
authorJack Steiner <steiner@sgi.com>
Wed, 17 Jun 2009 23:28:23 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:04:00 +0000 (13:04 -0700)
commit469c02815621837be09298589c1b69048564965a
tree51edba7b926d3587dfa40646bf7b453f47d26dff
parentf204003ae4183ae1eb93c3d0e3d7fe1aa1dfae6f
gru: support contexts with zero dsrs or cbrs

Support alocation of GRU contexts that contain zero DSR or CBR resources.
Some instructions do not require DSR resources.  Contexts without CBR
resources are useful for diagnostics.

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