[OpenWrt-Devel] [PATCH 1/5] oxnas: remove obsolete __cpuinit

Daniel Golle daniel at makrotopia.org
Tue Oct 13 00:39:17 EDT 2015


Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c b/target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c
index c41a3d1..8e4e2d8 100644
--- a/target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c
+++ b/target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c
@@ -60,7 +60,7 @@ static struct fiq_handler fh = {
 
 DEFINE_PER_CPU(struct fiq_req, fiq_data);
 
-static inline void __cpuinit ox820_set_fiq_regs(unsigned int cpu)
+static inline void ox820_set_fiq_regs(unsigned int cpu)
 {
 	struct pt_regs FIQ_regs;
 	struct fiq_req *fiq_req = &per_cpu(fiq_data, !cpu);
@@ -194,7 +194,7 @@ void fiq_flush_kern_dcache_area(void *addr, size_t size)
 
 static DEFINE_SPINLOCK(boot_lock);
 
-void __cpuinit ox820_secondary_init(unsigned int cpu)
+void ox820_secondary_init(unsigned int cpu)
 {
 	/*
 	 * Setup Secondary Core FIQ regs
@@ -214,7 +214,7 @@ void __cpuinit ox820_secondary_init(unsigned int cpu)
 	spin_unlock(&boot_lock);
 }
 
-int __cpuinit ox820_boot_secondary(unsigned int cpu, struct task_struct *idle)
+int ox820_boot_secondary(unsigned int cpu, struct task_struct *idle)
 {
 	unsigned long timeout;
 
-- 
2.6.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list