aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/misc_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/misc_64.S')
-rw-r--r--arch/powerpc/kernel/misc_64.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S
index 31b9026cf1e3..4dd70cf7bb4e 100644
--- a/arch/powerpc/kernel/misc_64.S
+++ b/arch/powerpc/kernel/misc_64.S
@@ -508,12 +508,12 @@ _GLOBAL(giveup_altivec)
508 508
509#ifdef CONFIG_VSX 509#ifdef CONFIG_VSX
510/* 510/*
511 * giveup_vsx(tsk) 511 * __giveup_vsx(tsk)
512 * Disable VSX for the task given as the argument, 512 * Disable VSX for the task given as the argument.
513 * and save the vector registers in its thread_struct. 513 * Does NOT save vsx registers.
514 * Enables the VSX for use in the kernel on return. 514 * Enables the VSX for use in the kernel on return.
515 */ 515 */
516_GLOBAL(giveup_vsx) 516_GLOBAL(__giveup_vsx)
517 mfmsr r5 517 mfmsr r5
518 oris r5,r5,MSR_VSX@h 518 oris r5,r5,MSR_VSX@h
519 mtmsrd r5 /* enable use of VSX now */ 519 mtmsrd r5 /* enable use of VSX now */