2006-01-02 18:10:22

by Bryan O'Sullivan

[permalink] [raw]
Subject: Correct Kbuild way to handle arches that don't implement readq/writeq?

One of the requests during the first round of InfiniPath driver review
was to compile the driver on a 32-bit platform. Our driver requires
64-bit MMIO operations (readq and writeq) that are not available on some
arches, such as i386, and which can't be emulated safely in terms of
32-bit operations.

What's the correct way to get the driver to not compile on such
platforms? Do I use CONFIG_64BIT as a proxy for "has readq and writeq"?

<b