Commit 818a08f8 authored by Ian Campbell's avatar Ian Campbell Committed by Ingo Molnar

x86: unify whitespace and comments in arch/x86/boot/compressed/misc_??.c

size reports no change in arch/x86/boot/compressed/vmlinux.
Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 6b3c0426
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
* High loaded stuff by Hans Lermen & Werner Almesberger, Feb. 1996 * High loaded stuff by Hans Lermen & Werner Almesberger, Feb. 1996
*/ */
/*
* we have to be careful, because no indirections are allowed here, and
* paravirt_ops is a kind of one. As it will only run in baremetal anyway,
* we just keep it from happening
*/
#undef CONFIG_PARAVIRT #undef CONFIG_PARAVIRT
#include <linux/linkage.h> #include <linux/linkage.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
...@@ -261,7 +266,7 @@ static void putstr(const char *s) ...@@ -261,7 +266,7 @@ static void putstr(const char *s)
y--; y--;
} }
} else { } else {
vidmem [ ( x + cols * y ) * 2 ] = c; vidmem [(x + cols * y) * 2] = c;
if ( ++x >= cols ) { if ( ++x >= cols ) {
x = 0; x = 0;
if ( ++y >= lines ) { if ( ++y >= lines ) {
...@@ -345,7 +350,8 @@ static void error(char *x) ...@@ -345,7 +350,8 @@ static void error(char *x)
} }
asmlinkage void decompress_kernel(void *rmode, unsigned long end, asmlinkage void decompress_kernel(void *rmode, unsigned long end,
uch *input_data, unsigned long input_len, uch *output) uch *input_data, unsigned long input_len,
uch *output)
{ {
real_mode = rmode; real_mode = rmode;
......
...@@ -260,7 +260,7 @@ static void putstr(const char *s) ...@@ -260,7 +260,7 @@ static void putstr(const char *s)
y--; y--;
} }
} else { } else {
vidmem [ ( x + cols * y ) * 2 ] = c; vidmem [(x + cols * y) * 2] = c;
if ( ++x >= cols ) { if ( ++x >= cols ) {
x = 0; x = 0;
if ( ++y >= lines ) { if ( ++y >= lines ) {
...@@ -344,7 +344,8 @@ static void error(char *x) ...@@ -344,7 +344,8 @@ static void error(char *x)
} }
asmlinkage void decompress_kernel(void *rmode, unsigned long heap, asmlinkage void decompress_kernel(void *rmode, unsigned long heap,
uch *input_data, unsigned long input_len, uch *output) uch *input_data, unsigned long input_len,
uch *output)
{ {
real_mode = rmode; real_mode = rmode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment