Messages in this thread |  | | | Subject | Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32 | | From | Bryan O'Sullivan <> | | Date | Wed, 11 Jan 2006 11:08:01 -0800 |
| |
On Wed, 2006-01-11 at 11:01 -0800, Roland Dreier wrote:
> Oh, I think you're misunderstanding Andrew's idea. Just create a > generic __raw_memcpy_toio32() that is always compiled, but mark it > with attribute((weak)). Then x86_64 can define its own version of > __raw_memcpy_toio32(), which will override the weak generic version.
No, I understood that. But my original x86_64 routine was inline, which would have left the out-of-line version compiled, but not used, on x86_64.
<b
- 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/
|  |