diff options
Diffstat (limited to 'arch/x86/boot/compressed')
-rw-r--r-- | arch/x86/boot/compressed/misc_32.c | 8 | ||||
-rw-r--r-- | arch/x86/boot/compressed/misc_64.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/arch/x86/boot/compressed/misc_32.c b/arch/x86/boot/compressed/misc_32.c index b74d60d1b2fa..288e16283ef9 100644 --- a/arch/x86/boot/compressed/misc_32.c +++ b/arch/x86/boot/compressed/misc_32.c | |||
@@ -276,10 +276,10 @@ static void putstr(const char *s) | |||
276 | RM_SCREEN_INFO.orig_y = y; | 276 | RM_SCREEN_INFO.orig_y = y; |
277 | 277 | ||
278 | pos = (x + cols * y) * 2; /* Update cursor position */ | 278 | pos = (x + cols * y) * 2; /* Update cursor position */ |
279 | outb_p(14, vidport); | 279 | outb(14, vidport); |
280 | outb_p(0xff & (pos >> 9), vidport+1); | 280 | outb(0xff & (pos >> 9), vidport+1); |
281 | outb_p(15, vidport); | 281 | outb(15, vidport); |
282 | outb_p(0xff & (pos >> 1), vidport+1); | 282 | outb(0xff & (pos >> 1), vidport+1); |
283 | } | 283 | } |
284 | 284 | ||
285 | static void* memset(void* s, int c, unsigned n) | 285 | static void* memset(void* s, int c, unsigned n) |
diff --git a/arch/x86/boot/compressed/misc_64.c b/arch/x86/boot/compressed/misc_64.c index 6ea015aa65e4..43e5fcc37be9 100644 --- a/arch/x86/boot/compressed/misc_64.c +++ b/arch/x86/boot/compressed/misc_64.c | |||
@@ -269,10 +269,10 @@ static void putstr(const char *s) | |||
269 | RM_SCREEN_INFO.orig_y = y; | 269 | RM_SCREEN_INFO.orig_y = y; |
270 | 270 | ||
271 | pos = (x + cols * y) * 2; /* Update cursor position */ | 271 | pos = (x + cols * y) * 2; /* Update cursor position */ |
272 | outb_p(14, vidport); | 272 | outb(14, vidport); |
273 | outb_p(0xff & (pos >> 9), vidport+1); | 273 | outb(0xff & (pos >> 9), vidport+1); |
274 | outb_p(15, vidport); | 274 | outb(15, vidport); |
275 | outb_p(0xff & (pos >> 1), vidport+1); | 275 | outb(0xff & (pos >> 1), vidport+1); |
276 | } | 276 | } |
277 | 277 | ||
278 | static void* memset(void* s, int c, unsigned n) | 278 | static void* memset(void* s, int c, unsigned n) |