Bryan> The memcpy32 routine is, but __raw_memcpy_toio32 simply Bryan> calls it, so we have two jump/ret pairs instead of one. 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. - R. - 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/
- Follow-Ups:
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- References:
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Roland Dreier <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Andrew Morton <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Andrew Morton <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Sam Ravnborg <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Andrew Morton <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: Roland Dreier <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- From: "Bryan O'Sullivan" <[email protected]>
- Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- Prev by Date: Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- Next by Date: Re: [RFC] i2c: Combined ST m41txx i2c rtc chip driver
- Previous by thread: Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- Next by thread: Re: [PATCH 1 of 3] Introduce __raw_memcpy_toio32
- Index(es):