commit | 149ba66a90a3b3cf8595ba8f0b2e4b2131e1681e | [log] [tgz] |
---|---|---|
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | Wed Sep 28 14:34:57 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Sep 29 15:01:55 2016 +1000 |
tree | 66d73c7be41b4e68520711e5c138d75bb2c9a37f | |
parent | 313483dd72289ff0b7dff4207032d94dbce39cf6 [diff] |
drivers/pci/hotplug: Remove likely() and unlikely() in powernv driver This removes likely() and unlikely() in pnv_php.c as the code isn't running in hot path. Those macros to affect CPU's branch stream don't help a lot for performance. I used them to identify the cases are likely or unlikely to happen. No logical changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>