linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Resend 1/8] ARM: sti: Staticize local variables
@ 2014-05-30 10:37 Sachin Kamat
  2014-05-30 10:37 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Sachin Kamat @ 2014-05-30 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

Symbols local to this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Cc: kernel at stlinux.com
Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
---
 arch/arm/mach-sti/platsmp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c
index fa2c33ffac04..d4b624f8dfcb 100644
--- a/arch/arm/mach-sti/platsmp.c
+++ b/arch/arm/mach-sti/platsmp.c
@@ -36,7 +36,7 @@ static void write_pen_release(int val)
 
 static DEFINE_SPINLOCK(boot_lock);
 
-void sti_secondary_init(unsigned int cpu)
+static void sti_secondary_init(unsigned int cpu)
 {
 	trace_hardirqs_off();
 
@@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu)
 	spin_unlock(&boot_lock);
 }
 
-int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
+static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
 {
 	unsigned long timeout;
 
@@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
 	return pen_release != -1 ? -ENOSYS : 0;
 }
 
-void __init sti_smp_prepare_cpus(unsigned int max_cpus)
+static void __init sti_smp_prepare_cpus(unsigned int max_cpus)
 {
 	void __iomem *scu_base = NULL;
 	struct device_node *np = of_find_compatible_node(
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH Resend 1/8] ARM: sti: Staticize local variables
@ 2014-06-24 11:43 Sachin Kamat
  2014-06-24 11:43 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
  0 siblings, 1 reply; 11+ messages in thread
From: Sachin Kamat @ 2014-06-24 11:43 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sachin Kamat <sachin.kamat@linaro.org>

Symbols local to this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Cc: kernel at stlinux.com
Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
---
 arch/arm/mach-sti/platsmp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-sti/platsmp.c b/arch/arm/mach-sti/platsmp.c
index fa2c33ffac04..d4b624f8dfcb 100644
--- a/arch/arm/mach-sti/platsmp.c
+++ b/arch/arm/mach-sti/platsmp.c
@@ -36,7 +36,7 @@ static void write_pen_release(int val)
 
 static DEFINE_SPINLOCK(boot_lock);
 
-void sti_secondary_init(unsigned int cpu)
+static void sti_secondary_init(unsigned int cpu)
 {
 	trace_hardirqs_off();
 
@@ -53,7 +53,7 @@ void sti_secondary_init(unsigned int cpu)
 	spin_unlock(&boot_lock);
 }
 
-int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
+static int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
 {
 	unsigned long timeout;
 
@@ -97,7 +97,7 @@ int sti_boot_secondary(unsigned int cpu, struct task_struct *idle)
 	return pen_release != -1 ? -ENOSYS : 0;
 }
 
-void __init sti_smp_prepare_cpus(unsigned int max_cpus)
+static void __init sti_smp_prepare_cpus(unsigned int max_cpus)
 {
 	void __iomem *scu_base = NULL;
 	struct device_node *np = of_find_compatible_node(
-- 
1.7.9.5

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

end of thread, other threads:[~2014-06-24 13:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-30 10:37 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 3/8] ARM: mvebu: Staticize armada_370_xp_cpu_pm_init Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 4/8] ARM: mvebu: Staticize mvebu_cpu_reset_init Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 5/8] ARM: vt8500: Staticize local symbols Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 6/8] ARM: spear: Staticize spear13xx_io_desc Sachin Kamat
2014-06-02  7:55   ` Viresh Kumar
2014-05-30 10:37 ` [PATCH Resend 7/8] ARM: spear: Staticize spear1310_io_desc in spear1310.c Sachin Kamat
2014-05-30 10:37 ` [PATCH Resend 8/8] ARM: spear: Staticize local symbols in spear1340.c Sachin Kamat
  -- strict thread matches above, loose matches on Subject: below --
2014-06-24 11:43 [PATCH Resend 1/8] ARM: sti: Staticize local variables Sachin Kamat
2014-06-24 11:43 ` [PATCH Resend 2/8] ARM: mvebu: Staticize armada_375_smp_cpu1_enable_wa Sachin Kamat
2014-06-24 13:09   ` Jason Cooper

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).