*/
 int cfs_cpt_spread_node(struct cfs_cpt_table *cptab, int cpt);
 
+/**
+ * return number of HTs in the same core of \a cpu
+ */
+int cfs_cpu_ht_nsiblings(int cpu);
+
 /**
  * iterate over all CPU partitions in \a cptab
  */
 
 #include <linux/memcontrol.h>
 #include <linux/mm_inline.h>
 
+#ifndef HAVE_LIBCFS_CPT
+/* Need this for cfs_cpt_table */
+#include <libcfs/libcfs_cpu.h>
+#endif
+
 #define CFS_PAGE_MASK             (~((__u64)PAGE_CACHE_SIZE-1))
 #define page_index(p)       ((p)->index)
 
 
 }
 EXPORT_SYMBOL(cfs_cpt_table_free);
 
+int
+cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len)
+{
+       int     rc = 0;
+
+       rc = snprintf(buf, len, "%d\t: %d\n", 0, 0);
+       len -= rc;
+       if (len <= 0)
+               return -EFBIG;
+
+       return rc;
+}
+EXPORT_SYMBOL(cfs_cpt_table_print);
+
 int
 cfs_cpt_number(struct cfs_cpt_table *cptab)
 {
 }
 EXPORT_SYMBOL(cfs_cpt_spread_node);
 
+int
+cfs_cpu_ht_nsiblings(int cpu)
+{
+       return 1;
+}
+EXPORT_SYMBOL(cfs_cpu_ht_nsiblings);
+
 int
 cfs_cpt_current(struct cfs_cpt_table *cptab, int remap)
 {