x86/coco: Get rid of accessor functions
[linux-2.6-block.git] / arch / x86 / coco / tdx / tdx.c
index e146b599260f81a2525c3eeb6823a532457a0272..971c6cfb15dd08525acddba7e19b11a5d3abd909 100644 (file)
@@ -852,7 +852,7 @@ void __init tdx_early_init(void)
 
        setup_force_cpu_cap(X86_FEATURE_TDX_GUEST);
 
-       cc_set_vendor(CC_VENDOR_INTEL);
+       cc_vendor = CC_VENDOR_INTEL;
        tdx_parse_tdinfo(&cc_mask);
        cc_set_mask(cc_mask);