[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] common/sched: Fix ARM build following c/s 340edc3902
The OSSTest smoke tests reports: sched_credit2.c: In function 'csched2_alloc_domdata': sched_credit2.c:3015:9: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration] return ERR_PTR(-ENOMEM); ^ sched_credit2.c:3015:9: error: nested extern declaration of 'ERR_PTR' [-Werror=nested-externs] As the ERR infrastructure is part of the main scheduler interface now, include it from xen/sched-if.h Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- CC: George Dunlap <george.dunlap@xxxxxxxxxxxxx> CC: Dario Faggioli <dfaggioli@xxxxxxxx> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> CC: Julien Grall <julien.grall@xxxxxxx> --- xen/include/xen/sched-if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/xen/sched-if.h b/xen/include/xen/sched-if.h index 4895242..c5dd43e 100644 --- a/xen/include/xen/sched-if.h +++ b/xen/include/xen/sched-if.h @@ -9,6 +9,7 @@ #define __XEN_SCHED_IF_H__ #include <xen/percpu.h> +#include <xen/err.h> /* A global pointer to the initial cpupool (POOL0). */ extern struct cpupool *cpupool0; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |