Andrew Morton <[email protected]> wrote:
> 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"?
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]