linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: debug: make local symbols static
@ 2014-03-05  5:34 Jingoo Han
  2014-03-05  5:35 ` [PATCH 2/2] arm64: smp: make local symbol static Jingoo Han
  2014-03-12 18:03 ` [PATCH 1/2] arm64: debug: make local symbols static Catalin Marinas
  0 siblings, 2 replies; 3+ messages in thread
From: Jingoo Han @ 2014-03-05  5:34 UTC (permalink / raw)
  To: linux-arm-kernel

Make local symbols static, because these are used only in this
file.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 arch/arm64/kernel/debug-monitors.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c
index 13f87de..14ba23c 100644
--- a/arch/arm64/kernel/debug-monitors.c
+++ b/arch/arm64/kernel/debug-monitors.c
@@ -189,7 +189,7 @@ static void clear_regs_spsr_ss(struct pt_regs *regs)
 
 /* EL1 Single Step Handler hooks */
 static LIST_HEAD(step_hook);
-DEFINE_RWLOCK(step_hook_lock);
+static DEFINE_RWLOCK(step_hook_lock);
 
 void register_step_hook(struct step_hook *hook)
 {
@@ -276,7 +276,7 @@ static int single_step_handler(unsigned long addr, unsigned int esr,
  * Use reader/writer locks instead of plain spinlock.
  */
 static LIST_HEAD(break_hook);
-DEFINE_RWLOCK(break_hook_lock);
+static DEFINE_RWLOCK(break_hook_lock);
 
 void register_break_hook(struct break_hook *hook)
 {
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] arm64: smp: make local symbol static
  2014-03-05  5:34 [PATCH 1/2] arm64: debug: make local symbols static Jingoo Han
@ 2014-03-05  5:35 ` Jingoo Han
  2014-03-12 18:03 ` [PATCH 1/2] arm64: debug: make local symbols static Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: Jingoo Han @ 2014-03-05  5:35 UTC (permalink / raw)
  To: linux-arm-kernel

Make smp_spin_table_cpu_postboot() static, because this function
is used only in this file.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 arch/arm64/kernel/smp_spin_table.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kernel/smp_spin_table.c b/arch/arm64/kernel/smp_spin_table.c
index 44c2280..7a530d2 100644
--- a/arch/arm64/kernel/smp_spin_table.c
+++ b/arch/arm64/kernel/smp_spin_table.c
@@ -128,7 +128,7 @@ static int smp_spin_table_cpu_boot(unsigned int cpu)
 	return secondary_holding_pen_release != INVALID_HWID ? -ENOSYS : 0;
 }
 
-void smp_spin_table_cpu_postboot(void)
+static void smp_spin_table_cpu_postboot(void)
 {
 	/*
 	 * Let the primary processor know we're out of the pen.
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 1/2] arm64: debug: make local symbols static
  2014-03-05  5:34 [PATCH 1/2] arm64: debug: make local symbols static Jingoo Han
  2014-03-05  5:35 ` [PATCH 2/2] arm64: smp: make local symbol static Jingoo Han
@ 2014-03-12 18:03 ` Catalin Marinas
  1 sibling, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2014-03-12 18:03 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Mar 05, 2014 at 05:34:32AM +0000, Jingoo Han wrote:
> Make local symbols static, because these are used only in this
> file.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied (both). Thanks.

-- 
Catalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-12 18:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05  5:34 [PATCH 1/2] arm64: debug: make local symbols static Jingoo Han
2014-03-05  5:35 ` [PATCH 2/2] arm64: smp: make local symbol static Jingoo Han
2014-03-12 18:03 ` [PATCH 1/2] arm64: debug: make local symbols static Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).