Re: [PATCH 1/2 v3] Use structs instead of hardcoded offsets in x86boot decompressor.

From: H. Peter Anvin
Date: Thu May 29 2008 - 14:49:37 EST


Kristian HÃgsberg wrote:

Updated this one to be less intrusive; we just re-#define RM_SCREEN_INFO to
access the boot_params struct instead of using the hard-coded offset.


Any reason to leave it in as a macro at all, instead of just s/RM_SCREEN_INFO/real_mode->screen_info/g?

We have already gotten rid of most of these macros in the primary kernel.

-hpa

P.S. Sorry for not giving you feedback sooner.
--
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/