tty/powerpc: fix build break with ehv_bytechan.c on allyesconfig
authorTimur Tabi <timur@freescale.com>
Thu, 25 Aug 2011 18:06:57 +0000 (13:06 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 18:01:15 +0000 (11:01 -0700)
The ePAPR hypervisor byte channel driver is supposed to work on all
ePAPR-compliant embedded PowerPC systems, but it had a reference to the MSR_GS
bit, which is available only on Book-E systems.

Also fix a couple integer-to-pointer typecast problems.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found