Commit 20be466c authored by Mike Snitzer's avatar Mike Snitzer

dm vdo: include <asm/current.h> to resolve current being undeclared

Reported when building on loongarch.
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
Signed-off-by: default avatarBruce Johnston <bjohnsto@redhat.com>
Signed-off-by: default avatarMatthew Sakai <msakai@redhat.com>
parent 444d3f0b
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "logger.h" #include "logger.h"
#include <asm/current.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/hardirq.h> #include <linux/hardirq.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "thread-registry.h" #include "thread-registry.h"
#include <asm/current.h>
#include <linux/rculist.h> #include <linux/rculist.h>
#include "permassert.h" #include "permassert.h"
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "thread-utils.h" #include "thread-utils.h"
#include <asm/current.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/mutex.h> #include <linux/mutex.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment