diff options
author | Jack Steiner <steiner@sgi.com> | 2009-06-17 19:28:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:04:02 -0400 |
commit | eb5bd5e52a8eafb1ddb42f983d41f97552afa106 (patch) | |
tree | e23bb25f5f6530bf6adc6cabdf3642d9611cfc00 /drivers/misc/sgi-gru/grutables.h | |
parent | 9120dec47f150636d85b3dba03318ccecd181c79 (diff) |
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>
Diffstat (limited to 'drivers/misc/sgi-gru/grutables.h')
-rw-r--r-- | drivers/misc/sgi-gru/grutables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h index ca81800146ff..6dfb3e69411f 100644 --- a/drivers/misc/sgi-gru/grutables.h +++ b/drivers/misc/sgi-gru/grutables.h | |||
@@ -258,7 +258,6 @@ extern struct mcs_op_statistic mcs_op_statistics[mcsop_last]; | |||
258 | 258 | ||
259 | #define OPT_DPRINT 1 | 259 | #define OPT_DPRINT 1 |
260 | #define OPT_STATS 2 | 260 | #define OPT_STATS 2 |
261 | #define GRU_QUICKLOOK 4 | ||
262 | 261 | ||
263 | 262 | ||
264 | #define IRQ_GRU 110 /* Starting IRQ number for interrupts */ | 263 | #define IRQ_GRU 110 /* Starting IRQ number for interrupts */ |
@@ -662,6 +661,7 @@ extern int gru_fault(struct vm_area_struct *, struct vm_fault *vmf); | |||
662 | extern struct gru_mm_struct *gru_register_mmu_notifier(void); | 661 | extern struct gru_mm_struct *gru_register_mmu_notifier(void); |
663 | extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); | 662 | extern void gru_drop_mmu_notifier(struct gru_mm_struct *gms); |
664 | 663 | ||
664 | extern int gru_ktest(unsigned long arg); | ||
665 | extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, | 665 | extern void gru_flush_tlb_range(struct gru_mm_struct *gms, unsigned long start, |
666 | unsigned long len); | 666 | unsigned long len); |
667 | 667 | ||