]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
core: printk: include asm/bitops.h directly
authorAntonios Motakis <antonios.motakis@huawei.com>
Wed, 12 Aug 2015 16:21:58 +0000 (18:21 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 16 Sep 2015 06:24:58 +0000 (08:24 +0200)
Currently the implementation in hypervisor/printk.c assumes asm/bitops.h
will be included by asm/spinlock.h. Since this implementation is using
bitops directly, we include the right header file.

Signed-off-by: Antonios Motakis <antonios.motakis@huawei.com>
[Jan: adjust to alphabetic ordering]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/printk.c

index 603bb8369e428ed0f48b8ed1250a96a816d81458..faa13266970df9ac35ad0e191acccd68ffd83b5c 100644 (file)
@@ -14,6 +14,7 @@
 #include <jailhouse/printk.h>
 #include <jailhouse/processor.h>
 #include <jailhouse/string.h>
+#include <asm/bitops.h>
 #include <asm/spinlock.h>
 
 volatile unsigned long panic_in_progress;