lkml.org 
[lkml]   [2007]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 1/6] i386/x86_64: Allow disabling the putstr's from compressed boot wrapper
On Wed, 23 May 2007 17:59:10 -0400 Ben Collins wrote:

> diff --git a/arch/i386/boot/compressed/misc.c b/arch/i386/boot/compressed/misc.c
> index b28505c..cc630d5 100644
> --- a/arch/i386/boot/compressed/misc.c
> +++ b/arch/i386/boot/compressed/misc.c
> @@ -278,6 +277,9 @@ static void putstr(const char *s)
> outb_p(15, vidport);
> outb_p(0xff & (pos >> 1), vidport+1);
> }
> +#else
> +#define putstr(__x) do{}while(0)

Please find the spacebar:

#define putstr(__x) do {} while (0)

> +#endif /* CONFIG_WRAPPER_PRINT */
>
> static void* memset(void* s, int c, unsigned n)
> {
> diff --git a/arch/x86_64/boot/compressed/misc.c b/arch/x86_64/boot/compressed/misc.c
> index f932b0e..43bb44c 100644
> --- a/arch/x86_64/boot/compressed/misc.c
> +++ b/arch/x86_64/boot/compressed/misc.c
> @@ -274,6 +273,9 @@ static void putstr(const char *s)
> outb_p(15, vidport);
> outb_p(0xff & (pos >> 1), vidport+1);
> }
> +#else
> +#define putstr(__x) do{}while(0)

ditto.

> +#endif /* CONFIG_WRAPPER_PRINT */
>
> static void* memset(void* s, int c, unsigned n)
> {


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-05-24 05:15    [W:0.161 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site