summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/thread-registry.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-13 10:51:19 -0500
committerMike Snitzer <snitzer@kernel.org>2024-03-04 15:07:55 -0500
commit20be466c7a967a5743890e850914c3e86117ac15 (patch)
tree7139bd7b35979f3ddd430330edbef02f242b8412 /drivers/md/dm-vdo/thread-registry.c
parent444d3f0bfd436cf28348a0a20d0b8ad0cdbb8be3 (diff)
dm vdo: include <asm/current.h> to resolve current being undeclared
Reported when building on loongarch. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Bruce Johnston <bjohnsto@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md/dm-vdo/thread-registry.c')
-rw-r--r--drivers/md/dm-vdo/thread-registry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-vdo/thread-registry.c b/drivers/md/dm-vdo/thread-registry.c
index 1314d2b6a26f..03e2f45e8e78 100644
--- a/drivers/md/dm-vdo/thread-registry.c
+++ b/drivers/md/dm-vdo/thread-registry.c
@@ -5,6 +5,7 @@
#include "thread-registry.h"
+#include <asm/current.h>
#include <linux/rculist.h>
#include "permassert.h"