|
@@ -30,13 +30,6 @@ extern struct task_struct *ia64_switch_to (void *next_task);
|
|
|
extern void ia64_save_extra (struct task_struct *task);
|
|
|
extern void ia64_load_extra (struct task_struct *task);
|
|
|
|
|
|
-#ifdef CONFIG_VIRT_CPU_ACCOUNTING
|
|
|
-extern void ia64_account_on_switch (struct task_struct *prev, struct task_struct *next);
|
|
|
-# define IA64_ACCOUNT_ON_SWITCH(p,n) ia64_account_on_switch(p,n)
|
|
|
-#else
|
|
|
-# define IA64_ACCOUNT_ON_SWITCH(p,n)
|
|
|
-#endif
|
|
|
-
|
|
|
#ifdef CONFIG_PERFMON
|
|
|
DECLARE_PER_CPU(unsigned long, pfm_syst_info);
|
|
|
# define PERFMON_IS_SYSWIDE() (__get_cpu_var(pfm_syst_info) & 0x1)
|
|
@@ -49,7 +42,6 @@ extern void ia64_account_on_switch (struct task_struct *prev, struct task_struct
|
|
|
|| PERFMON_IS_SYSWIDE())
|
|
|
|
|
|
#define __switch_to(prev,next,last) do { \
|
|
|
- IA64_ACCOUNT_ON_SWITCH(prev, next); \
|
|
|
if (IA64_HAS_EXTRA_STATE(prev)) \
|
|
|
ia64_save_extra(prev); \
|
|
|
if (IA64_HAS_EXTRA_STATE(next)) \
|