Messages in this thread | | | Subject | Re: [RFC] I/O Access Abstractions | Date | Mon, 02 Jul 2001 16:57:36 +0100 | From | David Howells <> |
| |
> #ifdef OUT_OF_LINE_MMIO > #define res_readb(res, adr) (res->access_ops->readb(res, adr) > #else > #define res_readb(res, adr) readb(adr) > #endif
I think the second #define should be:
#define res_readb(res, adr) readb(res->start+adr)
for consistency.
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |