aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/process.c')
-rw-r--r--arch/ppc64/kernel/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc64/kernel/process.c b/arch/ppc64/kernel/process.c
index 390f434283af..9bad983333b1 100644
--- a/arch/ppc64/kernel/process.c
+++ b/arch/ppc64/kernel/process.c
@@ -50,6 +50,7 @@
50#include <asm/machdep.h> 50#include <asm/machdep.h>
51#include <asm/iSeries/HvCallHpt.h> 51#include <asm/iSeries/HvCallHpt.h>
52#include <asm/cputable.h> 52#include <asm/cputable.h>
53#include <asm/firmware.h>
53#include <asm/sections.h> 54#include <asm/sections.h>
54#include <asm/tlbflush.h> 55#include <asm/tlbflush.h>
55#include <asm/time.h> 56#include <asm/time.h>
@@ -206,7 +207,7 @@ struct task_struct *__switch_to(struct task_struct *prev,
206/* purr is nothing but processor time base */ 207/* purr is nothing but processor time base */
207 208
208#if defined(CONFIG_PPC_PSERIES) 209#if defined(CONFIG_PPC_PSERIES)
209 if (ppc64_firmware_features & FW_FEATURE_SPLPAR) { 210 if (firmware_has_feature(FW_FEATURE_SPLPAR)) {
210 struct cpu_usage *cu = &__get_cpu_var(cpu_usage_array); 211 struct cpu_usage *cu = &__get_cpu_var(cpu_usage_array);
211 long unsigned start_tb, current_tb; 212 long unsigned start_tb, current_tb;
212 start_tb = old_thread->start_tb; 213 start_tb = old_thread->start_tb;