Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225706 > unrolled thread

[RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error

Started byYang Yingliang <yangyingliang@huawei.com>
First post2015-09-16 06:10 +0200
Last post2015-09-16 13:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error Yang Yingliang <yangyingliang@huawei.com> - 2015-09-16 06:10 +0200
    Re: [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling  error Thomas Gleixner <tglx@linutronix.de> - 2015-09-16 10:30 +0200
      Re: [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling  error Yang Yingliang <yangyingliang@huawei.com> - 2015-09-16 13:20 +0200

#1225706 — [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error

FromYang Yingliang <yangyingliang@huawei.com>
Date2015-09-16 06:10 +0200
Subject[RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error
Message-ID<q9ccF-1CG-1@gated-at.bofh.it>
To avoid multi-declaration error after adding migrate_irqs into
kernel/irq/migration.c, rename migrate_irqs() to move_irqs().

Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 arch/ia64/kernel/irq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c
index de4fc00..005f339 100644
--- a/arch/ia64/kernel/irq.c
+++ b/arch/ia64/kernel/irq.c
@@ -98,7 +98,7 @@ unsigned int vectors_in_migration[NR_IRQS];
  * Since cpu_online_mask is already updated, we just need to check for
  * affinity that has zeros
  */
-static void migrate_irqs(void)
+static void move_irqs(void)
 {
 	int 		irq, new_cpu;
 
@@ -167,7 +167,7 @@ void fixup_irqs(void)
 	 * Phase 1: Locate IRQs bound to this cpu and
 	 * relocate them for cpu removal.
 	 */
-	migrate_irqs();
+	move_irqs();
 
 	/*
 	 * Phase 2: Perform interrupt processing for all entries reported in
-- 
2.5.0


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1225823 — Re: [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error

FromThomas Gleixner <tglx@linutronix.de>
Date2015-09-16 10:30 +0200
SubjectRe: [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error
Message-ID<q9ggi-7oR-19@gated-at.bofh.it>
In reply to#1225706
On Wed, 16 Sep 2015, Yang Yingliang wrote:

> To avoid multi-declaration error after adding migrate_irqs into
> kernel/irq/migration.c, rename migrate_irqs() to move_irqs().

And why can't you chose a different name for the generic function
instead of creating useless churn in IA64?
 
Thanks,

	tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1226004 — Re: [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error

FromYang Yingliang <yangyingliang@huawei.com>
Date2015-09-16 13:20 +0200
SubjectRe: [RFC PATCH v3 2/3] ia64: rename migrate_irqs() to avoid compiling error
Message-ID<q9iUN-2PF-7@gated-at.bofh.it>
In reply to#1225823

On 2015/9/16 16:21, Thomas Gleixner wrote:
> On Wed, 16 Sep 2015, Yang Yingliang wrote:
>
>> To avoid multi-declaration error after adding migrate_irqs into
>> kernel/irq/migration.c, rename migrate_irqs() to move_irqs().
>
> And why can't you chose a different name for the generic function
> instead of creating useless churn in IA64?

I am not sure which way is better at first. Never mind, I will chose a 
new name for the generic function.

Thanks,
Yang
>
> Thanks,
>
> 	tglx
>
> .
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web