Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol forrelocatable bzImage

From: H. Peter Anvin
Date: Mon Apr 30 2007 - 23:46:11 EST


Rusty Russell wrote:
>
> It'd be nicer if there were a "struct boot_params" declaration, but we
> can't have everything.

It's in my patchset-under-development.

(Preview snapshot:
http://userweb.kernel.org/~hpa/setup-snapshot-2007.04.30.patch)

> diff -r 9a673a220ad6 Documentation/lguest/lguest.c
> --- a/Documentation/lguest/lguest.c Mon Apr 30 20:10:26 2007 +1000
> +++ b/Documentation/lguest/lguest.c Tue May 01 13:19:02 2007 +1000
> @@ -30,10 +30,12 @@
> #include <termios.h>
> #include <getopt.h>
> #include <zlib.h>
> +typedef unsigned long long u64;
> typedef uint32_t u32;
> typedef uint16_t u16;
> typedef uint8_t u8;

Why not uint64_t to go along with all the other defines?

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/