drm/radeon: add golden register settings for Hainan (v2)
[deliverable/linux.git] / drivers / hv / channel_mgmt.c
index 53a8600162a580acae6cfca238bf08f6821c6701..ff1be167eb040f76950f708a308186d30615ac6f 100644 (file)
@@ -318,7 +318,7 @@ static u32 get_vp_index(uuid_le *type_guid)
                return 0;
        }
        cur_cpu = (++next_vp % max_cpus);
-       return 0;
+       return cur_cpu;
 }
 
 /*
This page took 0.02461 seconds and 5 git commands to generate.