Re: empty_zero_page definition clash in 2.0.36

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Thu, 28 Jan 1999 14:03:52 +0100 (CET)


On Thu, 28 Jan 1999, Evgeny Stambulchik wrote:

> Usually, asm/pgtable.h is not sourced in setup.c, but with the latest raid
> patch, AND if compiled for SMP, it is. Here is a fix (non-Intel archs may need
> something similar, too):

this is already fixed in the 19980128 RAID patch. (this should be included
in 2.0.37)

> -#define PARAM empty_zero_page
> +#define PARAM ((unsigned char *)empty_zero_page)

(just pedantic, but the right fix is to make it (char *) not (unsigned
char *), because this is how it was defined and used previously. the RAID
patch does it this way.)

-- mingo

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