powerpc/pseries: Factor HVSI header struct in packet definitions
commit048bee7718bb3532aa96d0ce8572cced2ea951e6
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 16 Jun 2011 15:08:24 +0000 (16 15:08 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Jun 2011 07:48:30 +0000 (29 17:48 +1000)
treed29b370d9d467a541b510f60f6316e0f7636bd1a
parent725e789f228641fdfafcd65458f0ac78b87acc5a
powerpc/pseries: Factor HVSI header struct in packet definitions

Embed the struct hvsi_header in the various packet definitions
rather than open coding it multiple times. Will help provide
stronger type checking.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hvsi.h
drivers/tty/hvc/hvsi.c