Skip to contentSkip to conversation

Introduce __raw_memcpy_toio32

PATCH Bodo Eggert 1 participant 1 message Jan 15, 2006 10 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw
Quoted 3 lines · Andrew Morton

One option is to just stick the thing in an existing lib/ or kernel/ file and mark it __attribute__((weak)). That way architectures can override it for free with no ifdefs, no Makefile trickery, no Kconfig trickery, etc.

What about "#define funcname funcname" in arch-specific headers iff it's redefined, and protecting the definition in the generic file by "#ifndef funcname"?

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.