sys/dev/mii: mcommphy.c
skrll: Slight re-arrangement of #defines. NFCI.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/mii/mcommphy.c.diff?r1=1.4&r2=1.5
sys/dev/mii: mcommphy.c
skrll: Slight re-arrangement of #defines. NFCI.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/mii/mcommphy.c.diff?r1=1.4&r2=1.5
@ljs @amonakov @pkhuong @thesamesam OK but let's go back to the more verbose way.
#define __alloc_pages_node(...) alloc_hooks(__alloc_pages_node(__VA_ARGS__))
#define __alloc_pages_node_noprof (__alloc_pages_node)
Would that work then? Yes it's more (up to twice) #defines than we have now, but it wouldn't require us to rename the underlying functions to _noprof (and having see those _noprof symbols in perf, backtraces etc.).
"Hey Bjarne, why don't we add this object oriented stuff to C? Classes are basically structs, right?
"Well, the core of object orientation is the use of immutable messages, I don't see how that would work in C."
"Just ignore that part then. Two or three #defines and we should be done."
"I guess we need another bottle of wine."