diff --git a/arch/riscv/include/asm/switch_to.h b/arch/riscv/include/asm/switch_to.h index f35799ee4484bfbe8ea878c28abd5973ffecdefc..e20c8cb20bd0d371d6e0231e248cc23cb0385466 100644 --- a/arch/riscv/include/asm/switch_to.h +++ b/arch/riscv/include/asm/switch_to.h @@ -85,12 +85,6 @@ do { \ struct task_struct *__prev = (prev); \ struct task_struct *__next = (next); \ csr_write(0x9c0, __next->dsid); \ - if (debug_install) { \ - cp_reg_w(SIZES,smp_processor_id(),__next->sizes); \ - cp_reg_w(INC,smp_processor_id(),__next->inc); \ - cp_reg_w(FREQ,smp_processor_id(),__next->freq); \ - cp_reg_w(DSID,smp_processor_id(),__next->dsid); \ - }\ __switch_to_aux(__prev, __next); \ ((last) = __switch_to(__prev, __next)); \ } while (0) diff --git a/include/linux/sched.h b/include/linux/sched.h index 340f79fd97f63496a21dcf7bc1fc45a16aa78323..61f981782f73c2da567f18c732bfe0c304b7f2f8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -601,9 +601,6 @@ struct task_struct { #ifdef CONFIG_CGROUP_DSID unsigned int dsid; - unsigned int sizes; - unsigned int freq; - unsigned int inc; #endif /* -1 unrunnable, 0 runnable, >0 stopped: */