]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita097f5a6a80db4512942021502a94fcec0e460af
treea81dd6557fea6e79d6ff277b0477126817a05dcd
parent169a435708a43fd7116a75bc612ab53864b58a94
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