Message ID | 1394640969-25583-12-git-send-email-julien.grall@linaro.org |
---|---|
State | Accepted, archived |
Commit | 952125757787839bad89c8e7f661a962c9f9cbe4 |
Headers | show |
On 03/12/2014 12:16 PM, Julien Grall wrote: > nr_static_irqs and nr_irqs is defined in asm/irq.h (on both x86 and ARM). > > Include directly the header in hooks.c to avoid compilation failure on ARM. > > Signed-off-by: Julien Grall <julien.grall@linaro.org> > Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov> Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> > --- > xen/xsm/flask/hooks.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c > index 56c7645..ba719de 100644 > --- a/xen/xsm/flask/hooks.c > +++ b/xen/xsm/flask/hooks.c > @@ -9,6 +9,7 @@ > */ > > #include <xen/init.h> > +#include <xen/irq.h> > #include <xen/lib.h> > #include <xen/sched.h> > #include <xen/paging.h> >
On Thu, 2014-03-13 at 10:34 -0400, Daniel De Graaf wrote: > On 03/12/2014 12:16 PM, Julien Grall wrote: > > nr_static_irqs and nr_irqs is defined in asm/irq.h (on both x86 and ARM). > > > > Include directly the header in hooks.c to avoid compilation failure on ARM. > > > > Signed-off-by: Julien Grall <julien.grall@linaro.org> > > Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov> > > Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Acked-by: Ian Campbell <ian.campbell@citrix.com>
diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c index 56c7645..ba719de 100644 --- a/xen/xsm/flask/hooks.c +++ b/xen/xsm/flask/hooks.c @@ -9,6 +9,7 @@ */ #include <xen/init.h> +#include <xen/irq.h> #include <xen/lib.h> #include <xen/sched.h> #include <xen/paging.h>
nr_static_irqs and nr_irqs is defined in asm/irq.h (on both x86 and ARM). Include directly the header in hooks.c to avoid compilation failure on ARM. Signed-off-by: Julien Grall <julien.grall@linaro.org> Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov> --- xen/xsm/flask/hooks.c | 1 + 1 file changed, 1 insertion(+)