summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-28 23:07:09 -0400
committerIan Moffett <ian@osmora.org>2024-06-28 23:07:09 -0400
commit1bc9042af8907260659f28e8941837213dd37a8b (patch)
tree0248ac728085133575d83ebfbcb324408e1de16c /sys/include
parent31fbb06dc36583823bb07b9a46519e8e65968063 (diff)
kernel/amd64: Make splraise() return previous IPL
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/arch/amd64/intr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/arch/amd64/intr.h b/sys/include/arch/amd64/intr.h
index af5edf2..c7c4583 100644
--- a/sys/include/arch/amd64/intr.h
+++ b/sys/include/arch/amd64/intr.h
@@ -52,7 +52,7 @@ struct intr_entry {
};
int intr_alloc_vector(const char *name, uint8_t priority);
-void splraise(uint8_t s);
+int splraise(uint8_t s);
void splx(uint8_t s);
#endif