>From ChangeLog:
- "Kevin P. Lawton" <[EMAIL PROTECTED]>: Sun Oct 29 21:28:04 EST 2000
Linux kernel 2.4 works as a host now. (I used linux-2.4.0-test9).
There is a bug as of that version in the Linux kernel header
file 'include/linux/wrapper.h'. Macros mem_map_reserve()
and mem_map_unreserve() do not use the proper parenthesis.
They are listed as:
#define mem_map_reserve(p) set_bit(PG_reserved, &p->flags)
#define mem_map_unreserve(p) clear_bit(PG_reserved, &p->flags)
...but should be:
#define mem_map_reserve(p) set_bit(PG_reserved, &((p)->flags))
#define mem_map_unreserve(p) clear_bit(PG_reserved, &((p)->flags))
I just used set_bit() and clear_bit() directly to get around using
these macros.
I will attempt to report this to the Linux kernel team.
-Kevin