1 #include <linux/module.h>
2 #include <linux/preempt.h>
5 struct msr
*msrs_alloc(void)
7 struct msr
*msrs
= NULL
;
9 msrs
= alloc_percpu(struct msr
);
11 pr_warning("%s: error allocating msrs\n", __func__
);
17 EXPORT_SYMBOL(msrs_alloc
);
19 void msrs_free(struct msr
*msrs
)
23 EXPORT_SYMBOL(msrs_free
);