]> git.baikalelectronics.ru Git - kernel.git/commit
gru: update gru kernel self tests
authorJack Steiner <steiner@sgi.com>
Wed, 17 Jun 2009 23:28:26 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:04:02 +0000 (13:04 -0700)
commit3f61dfed6d0e9276a810cb309bd1bb1de7f893e3
treee23bb25f5f6530bf6adc6cabdf3642d9611cfc00
parent88ba9b889020ef7dedca9105a04887973236d92d
gru: update gru kernel self tests

Change the kernel self tests that can be optionally executed on GRU
initialization.  This is primarily for testing.

Eliminate the BUG statements on failure and return bad status.  Add ioctl
interface to execute the tests on demand.

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