Re: [PATCH 1/6] i386/x86_64: Allow disabling the putstr's from compressed boot wrapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux