sgi-gru: macro for scanning all gru chiplets
authorJack Steiner <steiner@sgi.com>
Thu, 2 Apr 2009 23:59:10 +0000 (16:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:06 +0000 (19:05 -0700)
commite1c3219d06447dab8a87b96df1211d158e21071e
treeaa3a5ea8af148d2d7d461d61618d7820f099148a
parent6f2584f47474d29ce829604bfc8b56c10b352fdb
sgi-gru: macro for scanning all gru chiplets

Add macro for scanning all active GRU chiplets.  Maximum chiplet id is
saved during GRU initialization.

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