gru: expicitly set instruction status to active
authorJack Steiner <steiner@sgi.com>
Wed, 16 Dec 2009 00:48:12 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:16 +0000 (07:20 -0800)
commit57ebb0342c12f00e7a6d15ba59bb6c3ee501c3af
treea81dd6557fea6e79d6ff277b0477126817a05dcd
parent563447d7eb04c9b382f90a132be126a21a635647
gru: expicitly set instruction status to active

Explicitly set GRU instructions to "ACTIVE".  This eliminates the need for
barriers that would have been necessary to prevent reading the instruction
"status" field before the GRU had actually started the instruction.

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