diff options
author | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2012-03-15 14:56:23 +0000 |
---|---|---|
committer | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2012-05-22 10:43:46 +0100 |
commit | 0b0dfb1c222362944bce728357551a88c99997d6 (patch) | |
tree | 2fc8a461934c0f74302c1fa86a11494bf6d8e510 | |
parent | ad0f9329debb8a163fd9cc8b3716ded2c494cba4 (diff) |
Change extern declaration for async_switchover.
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
-rw-r--r-- | big-little/common/hyp_setup.c | 2 | ||||
-rw-r--r-- | big-little/include/int_master.h | 1 | ||||
-rw-r--r-- | big-little/switcher/context/ns_context.c | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/big-little/common/hyp_setup.c b/big-little/common/hyp_setup.c index d111e22..833b2ec 100644 --- a/big-little/common/hyp_setup.c +++ b/big-little/common/hyp_setup.c @@ -26,6 +26,7 @@ #include "virt_helpers.h" #include "virtualisor.h" #include "bl.h" +#include "int_master.h" extern unsigned vectors; extern void SetupVirtExtPageTables(unsigned, unsigned); @@ -34,7 +35,6 @@ extern void monmode_setup(void); extern void config_uart(void); extern void SetupVGIC(unsigned); extern void enable_trigger(unsigned); -extern unsigned async_switchover; unsigned host_cluster = HOST_CLUSTER; unsigned switcher = SWITCHER; diff --git a/big-little/include/int_master.h b/big-little/include/int_master.h index 4224fde..f6fe603 100644 --- a/big-little/include/int_master.h +++ b/big-little/include/int_master.h @@ -39,6 +39,7 @@ #define INT_GETRAW 3 #define INT_UNTRIGGER 4 +extern unsigned async_switchover; vm_context *handle_interrupt(vm_context * context); int gic_masterhandler(void *ptr, unsigned int num, unsigned int op); void gic_masterinit(void); diff --git a/big-little/switcher/context/ns_context.c b/big-little/switcher/context/ns_context.c index b1fa3d2..2f16592 100644 --- a/big-little/switcher/context/ns_context.c +++ b/big-little/switcher/context/ns_context.c @@ -33,7 +33,6 @@ extern void gic_enable_int(unsigned); extern void SetupVGIC(unsigned); -extern unsigned async_switchover; extern unsigned hyp_timer_trigger; /* Bakery locks to serialize access to the tube. */ |