diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/lpar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c index cc0939d4cad1..615ffb961059 100644 --- a/arch/powerpc/platforms/pseries/lpar.c +++ b/arch/powerpc/platforms/pseries/lpar.c | |||
@@ -61,7 +61,7 @@ extern void pSeries_find_serial_port(void); | |||
61 | int vtermno; /* virtual terminal# for udbg */ | 61 | int vtermno; /* virtual terminal# for udbg */ |
62 | 62 | ||
63 | #define __ALIGNED__ __attribute__((__aligned__(sizeof(long)))) | 63 | #define __ALIGNED__ __attribute__((__aligned__(sizeof(long)))) |
64 | static void udbg_hvsi_putc(unsigned char c) | 64 | static void udbg_hvsi_putc(char c) |
65 | { | 65 | { |
66 | /* packet's seqno isn't used anyways */ | 66 | /* packet's seqno isn't used anyways */ |
67 | uint8_t packet[] __ALIGNED__ = { 0xff, 5, 0, 0, c }; | 67 | uint8_t packet[] __ALIGNED__ = { 0xff, 5, 0, 0, c }; |
@@ -112,7 +112,7 @@ static int udbg_hvsi_getc_poll(void) | |||
112 | return ch; | 112 | return ch; |
113 | } | 113 | } |
114 | 114 | ||
115 | static unsigned char udbg_hvsi_getc(void) | 115 | static char udbg_hvsi_getc(void) |
116 | { | 116 | { |
117 | int ch; | 117 | int ch; |
118 | for (;;) { | 118 | for (;;) { |
@@ -128,7 +128,7 @@ static unsigned char udbg_hvsi_getc(void) | |||
128 | } | 128 | } |
129 | } | 129 | } |
130 | 130 | ||
131 | static void udbg_putcLP(unsigned char c) | 131 | static void udbg_putcLP(char c) |
132 | { | 132 | { |
133 | char buf[16]; | 133 | char buf[16]; |
134 | unsigned long rc; | 134 | unsigned long rc; |
@@ -173,7 +173,7 @@ static int udbg_getc_pollLP(void) | |||
173 | return ch; | 173 | return ch; |
174 | } | 174 | } |
175 | 175 | ||
176 | static unsigned char udbg_getcLP(void) | 176 | static char udbg_getcLP(void) |
177 | { | 177 | { |
178 | int ch; | 178 | int ch; |
179 | for (;;) { | 179 | for (;;) { |