Module Name: src
Committed By: ryo
Date: Mon Jul 9 06:11:12 UTC 2018
Modified Files:
src/sys/arch/aarch64/aarch64: cpuswitch.S
Log Message:
remove unused code
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/aarch64/cpuswitch.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/aarch64/cpuswitch.S
diff -u src/sys/arch/aarch64/aarch64/cpuswitch.S:1.1 src/sys/arch/aarch64/aarch64/cpuswitch.S:1.2
--- src/sys/arch/aarch64/aarch64/cpuswitch.S:1.1 Sun Apr 1 04:35:03 2018
+++ src/sys/arch/aarch64/aarch64/cpuswitch.S Mon Jul 9 06:11:12 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuswitch.S,v 1.1 2018/04/01 04:35:03 ryo Exp $ */
+/* $NetBSD: cpuswitch.S,v 1.2 2018/07/09 06:11:12 ryo Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include "opt_ddb.h"
-RCSID("$NetBSD: cpuswitch.S,v 1.1 2018/04/01 04:35:03 ryo Exp $")
+RCSID("$NetBSD: cpuswitch.S,v 1.2 2018/07/09 06:11:12 ryo Exp $")
/*
* At IPL_SCHED:
@@ -200,13 +200,6 @@ END(softint_cleanup)
* x28 = arg
*/
ENTRY_NP(lwp_trampoline)
-#if defined(MULTIPROCESSOR)
- mov x19, x0
- mov x20, x1
- bl _C_LABEL(proc_trampoline_mp)
- mov x1, x20
- mov x0, x19
-#endif
bl _C_LABEL(lwp_startup)
/*
@@ -345,24 +338,6 @@ ENTRY_NP(cpu_Debugger)
END(cpu_Debugger)
#endif /* DDB */
-#ifdef MULTIPROCESSOR
-/*
- * void
- * cpu_spinup_trampoline(int cpu_index)
- * {
- * ci := tp == cpu_info[cpu_index]
- * ci->ci_curlwp = ci->ci_data.ci_idlelwp;
- * sp := ci->ci_curlwp->l_addr + USPACE - sizeof(struct trapframe)
- * cpu_hatch(ci);
- * jump to idle_loop() to join the cpu pool.
- * }
- */
-ENTRY_NP(cpu_spinup_trampoline)
- bl _C_LABEL(cpu_hatch)
- b _C_LABEL(cpu_idle)
-END(cpu_spinup_trampoline)
-#endif
-
/*
* int cpu_set_onfault(struct faultbuf *fb)
*/