diff options
Diffstat (limited to 'ANDROID_3.4.5/arch/x86/lib/msr.c')
-rw-r--r-- | ANDROID_3.4.5/arch/x86/lib/msr.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ANDROID_3.4.5/arch/x86/lib/msr.c b/ANDROID_3.4.5/arch/x86/lib/msr.c deleted file mode 100644 index 8f8eebdc..00000000 --- a/ANDROID_3.4.5/arch/x86/lib/msr.c +++ /dev/null @@ -1,23 +0,0 @@ -#include <linux/module.h> -#include <linux/preempt.h> -#include <asm/msr.h> - -struct msr *msrs_alloc(void) -{ - struct msr *msrs = NULL; - - msrs = alloc_percpu(struct msr); - if (!msrs) { - pr_warning("%s: error allocating msrs\n", __func__); - return NULL; - } - - return msrs; -} -EXPORT_SYMBOL(msrs_alloc); - -void msrs_free(struct msr *msrs) -{ - free_percpu(msrs); -} -EXPORT_SYMBOL(msrs_free); |