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>
This commit is contained in:
Mike Snitzer 2024-02-13 10:51:19 -05:00
parent 444d3f0bfd
commit 20be466c7a
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include "logger.h"
#include <asm/current.h>
#include <linux/delay.h>
#include <linux/hardirq.h>
#include <linux/module.h>

View File

@ -5,6 +5,7 @@
#include "thread-registry.h"
#include <asm/current.h>
#include <linux/rculist.h>
#include "permassert.h"

View File

@ -5,6 +5,7 @@
#include "thread-utils.h"
#include <asm/current.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/mutex.h>