kernel: renamespace arch_nop()
This is part of the core kernel -> architecture interface
and has been renamed to z_arch_nop().
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
diff --git a/arch/x86_64/include/kernel_arch_func.h b/arch/x86_64/include/kernel_arch_func.h
index 8293627..4b21e8b 100644
--- a/arch/x86_64/include/kernel_arch_func.h
+++ b/arch/x86_64/include/kernel_arch_func.h
@@ -51,7 +51,7 @@
return (key & 0x200) != 0;
}
-static inline void arch_nop(void)
+static inline void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/arc/arch.h b/include/arch/arc/arch.h
index a5ace88..fd7755c 100644
--- a/include/arch/arc/arch.h
+++ b/include/arch/arc/arch.h
@@ -229,7 +229,7 @@
/**
* @brief Explicitly nop operation.
*/
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/arm/misc.h b/include/arch/arm/misc.h
index 82cedab..6bccf2e 100644
--- a/include/arch/arm/misc.h
+++ b/include/arch/arm/misc.h
@@ -27,7 +27,7 @@
/**
* @brief Explicitly nop operation.
*/
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/nios2/arch.h b/include/arch/nios2/arch.h
index b59feba5..7633592 100644
--- a/include/arch/nios2/arch.h
+++ b/include/arch/nios2/arch.h
@@ -204,7 +204,7 @@
/**
* @brief Explicitly nop operation.
*/
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/posix/arch.h b/include/arch/posix/arch.h
index 7188320..56c1e08 100644
--- a/include/arch/posix/arch.h
+++ b/include/arch/posix/arch.h
@@ -45,7 +45,7 @@
/**
* @brief Explicitly nop operation.
*/
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/riscv/arch.h b/include/arch/riscv/arch.h
index 8d0b15c..a1ee4fc 100644
--- a/include/arch/riscv/arch.h
+++ b/include/arch/riscv/arch.h
@@ -149,7 +149,7 @@
/**
* @brief Explicitly nop operation.
*/
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/x86/arch.h b/include/arch/x86/arch.h
index e43ceca..d125bc5 100644
--- a/include/arch/x86/arch.h
+++ b/include/arch/x86/arch.h
@@ -266,7 +266,7 @@
return rv.value;
}
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/include/arch/xtensa/arch.h b/include/arch/xtensa/arch.h
index d6294c0..7ee5d29 100644
--- a/include/arch/xtensa/arch.h
+++ b/include/arch/xtensa/arch.h
@@ -86,7 +86,7 @@
/**
* @brief Explicitly nop operation.
*/
-static ALWAYS_INLINE void arch_nop(void)
+static ALWAYS_INLINE void z_arch_nop(void)
{
__asm__ volatile("nop");
}
diff --git a/kernel/init.c b/kernel/init.c
index bfbebea..2a2339e 100644
--- a/kernel/init.c
+++ b/kernel/init.c
@@ -302,7 +302,7 @@
void __weak main(void)
{
/* NOP default main() if the application does not provide one. */
- arch_nop();
+ z_arch_nop();
}
/* LCOV_EXCL_STOP */