if (IS_ERR(diag0c_data))
                return PTR_ERR(diag0c_data);
        memset(&diag0c_data->hdr, 0, sizeof(diag0c_data->hdr));
-       get_tod_clock_ext(diag0c_data->hdr.tod_ext);
+       store_tod_clock_ext((union tod_clock *)diag0c_data->hdr.tod_ext);
        diag0c_data->hdr.len = count * sizeof(struct hypfs_diag0c_entry);
        diag0c_data->hdr.version = DBFS_D0C_HDR_VERSION;
        diag0c_data->hdr.count = count;
 
 struct dbfs_d2fc_hdr {
        u64     len;            /* Length of d2fc buffer without header */
        u16     version;        /* Version of header */
-       char    tod_ext[STORE_CLOCK_EXT_SIZE]; /* TOD clock for d2fc */
+       union tod_clock tod_ext; /* TOD clock for d2fc */
        u64     count;          /* Number of VM guests in d2fc buffer */
        char    reserved[30];
 } __attribute__ ((packed));
        d2fc = diag2fc_store(guest_query, &count, sizeof(d2fc->hdr));
        if (IS_ERR(d2fc))
                return PTR_ERR(d2fc);
-       get_tod_clock_ext(d2fc->hdr.tod_ext);
+       store_tod_clock_ext(&d2fc->hdr.tod_ext);
        d2fc->hdr.len = count * sizeof(struct diag2fc_data);
        d2fc->hdr.version = DBFS_D2FC_HDR_VERSION;
        d2fc->hdr.count = count;