My understanding is that all Shimano MTB stuff 7-9 speeds has identical cable pull, so it should work fine. More knowledgeable people may weigh in, though.
EDIT: One caveat is that the bar ends must not be Dura Ace.
__________________
"Party on comrades" -- Lenin, probably