Repurpose 'nmi_call_kdb_smp' function to be able to call a callback
function that is meant for safely handling a callback in SMP
environment. The function increments reference on 'nmi_kdb_lock'
atomically for one of the CPU cores. The rest of the CPU cores
execute ia32_pause(). On return from the NMI handler the ref count
on 'nmi_kdb_lock' is dropped and call made to resume the CPU cores.
Obtained from: Juniper Networks, Inc.