1
linux/net/atm
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
..
addr.c
addr.h
atm_misc.c
atm_sysfs.c [ATM]: Convert struct class_device to struct device 2008-01-28 15:00:12 -08:00
br2684.c [ATM]: Use proc_create() to setup ->proc_fops first 2008-02-28 13:55:45 -08:00
clip.c [ATM]: When proc_create() fails, do some error handling work and return -ENOMEM. 2008-03-23 21:45:36 -07:00
common.c [NET]: Name magic constants in sock_wake_async() 2008-01-28 14:55:03 -08:00
common.h [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ioctl.c
Kconfig [ATM]: atm is no longer experimental 2008-01-28 15:00:11 -08:00
lec_arpc.h
lec.c [NET]: Undo code bloat in hot paths due to print_mac(). 2008-04-08 16:50:44 -07:00
lec.h
Makefile
mpc.c [ATM]: Check IP header validity in mpc_send_packet 2008-01-09 03:51:59 -08:00
mpc.h
mpoa_caches.c
mpoa_caches.h
mpoa_proc.c [ATM]: Use proc_create() to setup ->proc_fops first 2008-02-28 13:55:45 -08:00
pppoatm.c
proc.c [ATM]: Use proc_create() to setup ->proc_fops first 2008-02-28 13:55:45 -08:00
protocols.h
pvc.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
raw.c
resources.c
resources.h
signaling.c [NET]: sparse warning fixes 2007-10-10 16:54:48 -07:00
signaling.h
svc.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00