summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-13 18:51:19 +0300
committerMike Snitzer <snitzer@kernel.org>2024-03-04 23:07:55 +0300
commit20be466c7a967a5743890e850914c3e86117ac15 (patch)
tree7139bd7b35979f3ddd430330edbef02f242b8412 /drivers/md/dm-vdo
parent444d3f0bfd436cf28348a0a20d0b8ad0cdbb8be3 (diff)
downloadlinux-20be466c7a967a5743890e850914c3e86117ac15.tar.xz
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')
-rw-r--r--drivers/md/dm-vdo/logger.c1
-rw-r--r--drivers/md/dm-vdo/thread-registry.c1
-rw-r--r--drivers/md/dm-vdo/thread-utils.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm-vdo/logger.c b/drivers/md/dm-vdo/logger.c
index 6ba7e99ee8f9..a50edb0331fc 100644
--- a/drivers/md/dm-vdo/logger.c
+++ b/drivers/md/dm-vdo/logger.c
@@ -5,6 +5,7 @@
#include "logger.h"
+#include <asm/current.h>
#include <linux/delay.h>
#include <linux/hardirq.h>
#include <linux/module.h>
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"
diff --git a/drivers/md/dm-vdo/thread-utils.c b/drivers/md/dm-vdo/thread-utils.c
index 160679984d72..aeca14bba852 100644
--- a/drivers/md/dm-vdo/thread-utils.c
+++ b/drivers/md/dm-vdo/thread-utils.c
@@ -5,6 +5,7 @@
#include "thread-utils.h"
+#include <asm/current.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/mutex.h>