kgdb_post_primary_code — (optional) Save error vector/code numbers.
Original pt_regs.
Original error vector.
Original error code.
This is usually needed on architectures which support SMP and KGDB. This function is called after all the secondary cpus have been put to a know spin state and the primary CPU has control over KGDB.