Missing PAGE_MASK macro on PPC arches

Dmitry Butskoy buc at odusz.so-cdu.ru
Mon Jun 25 12:24:51 UTC 2007


The macro "PAGE_MASK" is normally defined in the "asm/page.h" header, 
provided  by the "kernel-headers" package. This header is auto-generated 
from the correspond "include/asm-powerpc/page.h", with removing of all 
"__KERNEL__" ifdefs.

Unlike in x86, the "PAGE_MASK" definition in 
"include/asm-powerpc/page.h" is kernel-private (i.e. sits under the 
"__KERNEL__" ifdef), hence after the stripping we have an empty 
"asm/page.h" for ppc and ppc64 arches.

Because of this some programs are not compiled properly.

Is it an upstream kernel bug or something else?


Dmitry Butskoy
http://www.fedoraproject.org/wiki/DmitryButskoy




More information about the Fedora-maintainers mailing list