aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-06-08 03:24:11 -0700
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-07-14 13:32:50 -0700
commit875e68ec32fc5495f3edf987aaae1c52306184b7 (patch)
tree818f673786ecb64a93482f053718db56de6b7308 /lib/debugobjects.c
parentx86/ioapic.c: convert io_apic_level_ack_pending loop to normal for() loop (diff)
downloadwireguard-linux-875e68ec32fc5495f3edf987aaae1c52306184b7.tar.xz
wireguard-linux-875e68ec32fc5495f3edf987aaae1c52306184b7.zip
x86/ioapic.c: simplify add_pin_to_irq_node()
Rather than duplicating the same alloc/init code twice, restructure the function to look for duplicates and then add an entry if none is found. This function is not performance critical; all but one of its callers are __init functions, and the non-__init caller is for PCI device setup. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions