pfn_valid question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While trying to clean up part of the include file mess, I got stuck with
the pfn_valid() macro. For most architectures it is defined in asm/page.h
as well as in asm/mmzone.h, but differently!

It even might be a macro in asm/page.h, but a static inline in
asm/mmzone.h, so that the latter might never be included after the former.
How do we make sure this is always the case?

To me this looks so incredibly fragile that I'm sure I got something
wrong. Who can enlighten me?

thanks,
Tim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux