Fixed an issue where I was using smp_processor_id instead of raw_smp_processor_id.