summaryrefslogtreecommitdiff
path: root/arch/x86/machine/tcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/tcb.c')
-rw-r--r--arch/x86/machine/tcb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/machine/tcb.c b/arch/x86/machine/tcb.c
index fb31a172..b54945c7 100644
--- a/arch/x86/machine/tcb.c
+++ b/arch/x86/machine/tcb.c
@@ -104,3 +104,12 @@ tcb_trace(const struct tcb *tcb)
{
strace_show((uintptr_t)tcb_context_restore, tcb->bp);
}
+
+static int __init
+tcb_setup(void)
+{
+ return 0;
+}
+
+INIT_OP_DEFINE(tcb_setup,
+ INIT_OP_DEP(cpu_setup, true));