[boot-wrapper PATCH 11/12] Rename `spin.h` -> `boot.h`
From: Mark Rutland <mark.rutland@arm.com>
Date: 2021-07-29 15:37:20
Subsystem:
the rest · Maintainer:
Linus Torvalds
In `spin.h` we have function prototypes provided by `boot.c`. For
clarity, let's align the naming.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
---
boot_common.c | 2 +-
include/{spin.h => boot.h} | 6 +++---
psci.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
rename include/{spin.h => boot.h} (88%)
diff --git a/boot_common.c b/boot_common.c
index d48b7e1..eada179 100644
--- a/boot_common.c
+++ b/boot_common.c@@ -6,8 +6,8 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE.txt file. */ +#include <boot.h> #include <cpu.h> -#include <spin.h> extern unsigned long entrypoint; extern unsigned long dtb;
diff --git a/include/spin.h b/include/boot.h
similarity index 88%
rename from include/spin.h
rename to include/boot.h
index 15bbe27..d75e013 100644
--- a/include/spin.h
+++ b/include/boot.h@@ -1,13 +1,13 @@ /* - * include/spin.h + * include/boot.h * * Copyright (C) 2015 ARM Limited. All rights reserved. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE.txt file. */ -#ifndef __SPIN_H -#define __SPIN_H +#ifndef __BOOT_H +#define __BOOT_H #include <compiler.h>
diff --git a/psci.c b/psci.c
index df5b0f2..a0e8700 100644
--- a/psci.c
+++ b/psci.c@@ -10,9 +10,9 @@ #include <stdint.h> #include <bakery_lock.h> +#include <boot.h> #include <cpu.h> #include <psci.h> -#include <spin.h> #ifndef CPU_IDS #error "No MPIDRs provided"
--
2.11.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel