1
0
Fork 0
remarkable-linux/drivers/net/tokenring
David S. Miller 21f644f3ea [NET]: Undo code bloat in hot paths due to print_mac().
If print_mac() is used inside of a pr_debug() the compiler
can't see that the call is redundant so still performs it
even of pr_debug() ends up being a nop.

So don't use print_mac() in such cases in hot code paths,
use MAC_FMT et al. instead.

As noted by Joe Perches, pr_debug() could be modified to
handle this better, but that is a change to an interface
used by the entire kernel and thus needs to be validated
carefully.  This here is thus the less risky fix for
2.6.25

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-08 16:50:44 -07:00
..
3c359.c 3c359 endianness annotations and fixes 2007-12-22 23:16:42 -05:00
3c359.h 3c359 endianness annotations and fixes 2007-12-22 23:16:42 -05:00
3c359_microcode.h [PATCH] drivers/net/tokenring/: cleanups 2005-06-26 18:29:26 -04:00
Kconfig [TR]: Use menuconfig objects. 2007-05-24 16:36:52 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abyss.c MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
abyss.h MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
ibmtr.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
lanstreamer.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
lanstreamer.h [PATCH] drivers/net/tokenring/lanstreamer.h Removal of old code 2006-09-25 20:01:19 -04:00
madgemc.c MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
madgemc.h MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
olympic.c [NET]: Undo code bloat in hot paths due to print_mac(). 2008-04-08 16:50:44 -07:00
olympic.h endianness annotations and fixes for olympic 2008-01-28 15:07:08 -08:00
proteon.c MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
skisa.c MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
smctr.c smctr.c: fix logical-bitwise-or confusion 2008-03-25 23:15:32 -04:00
smctr.h [PATCH] smctr warning fix 2006-02-17 16:16:21 -05:00
smctr_firmware.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tms380tr.c MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
tms380tr.h MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00
tmspci.c MAINTAINERS: remove Adam Fritzler, remove his email address in other sources 2008-02-03 16:36:24 +02:00