summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-06-11 12:08:07 +1000
committerChris Johns <chrisj@rtems.org>2022-06-11 12:08:49 +1000
commit66dc06efcefcd4ea5b5981f81c371ae30633c6ad (patch)
tree16fb84382a4202fbc74dbab7353be76befd97c62 /bsps
parentbsps/stm32h7: remove external memory initialization from nucleo-h743zi BSP (diff)
downloadrtems-66dc06efcefcd4ea5b5981f81c371ae30633c6ad.tar.bz2
bsp/aarch64: Fix array warning
Updates #4664
Diffstat (limited to 'bsps')
-rw-r--r--bsps/aarch64/include/bsp/start.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/aarch64/include/bsp/start.h b/bsps/aarch64/include/bsp/start.h
index 586eec4f48..f0af5be841 100644
--- a/bsps/aarch64/include/bsp/start.h
+++ b/bsps/aarch64/include/bsp/start.h
@@ -172,7 +172,7 @@ AArch64_start_set_vector_base(void)
/*
* Do not use bsp_vector_table_begin == 0, since this will get optimized away.
*/
- if (bsp_vector_table_end != bsp_vector_table_size) {
+ if (&bsp_vector_table_end[0] != &bsp_vector_table_size[0]) {
__asm__ volatile (
"msr VBAR_EL1, %[vtable]\n"
: : [vtable] "r" (bsp_start_vector_table_begin)