diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-04 18:15:00 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-03-06 12:19:27 -0500 |
commit | d4ed80841ad4a1d59decccfbe2d010558568c5fb (patch) | |
tree | 81ebf4a87688f4b0cc46f74266b5b0cac76932b0 /arch/ia64/kernel/iosapic.c | |
parent | 2d9b06c72a9f2e6042d72df7d9000a48bcba34f0 (diff) |
[IA64] remove remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Long lines have been kept where they exist, some small spacing changes
have been done.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/iosapic.c')
-rw-r--r-- | arch/ia64/kernel/iosapic.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index 7b3292282dea..082c31dcfd99 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
@@ -534,7 +534,7 @@ iosapic_reassign_vector (int irq) | |||
534 | if (iosapic_intr_info[irq].count) { | 534 | if (iosapic_intr_info[irq].count) { |
535 | new_irq = create_irq(); | 535 | new_irq = create_irq(); |
536 | if (new_irq < 0) | 536 | if (new_irq < 0) |
537 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | 537 | panic("%s: out of interrupt vectors!\n", __func__); |
538 | printk(KERN_INFO "Reassigning vector %d to %d\n", | 538 | printk(KERN_INFO "Reassigning vector %d to %d\n", |
539 | irq_to_vector(irq), irq_to_vector(new_irq)); | 539 | irq_to_vector(irq), irq_to_vector(new_irq)); |
540 | memcpy(&iosapic_intr_info[new_irq], &iosapic_intr_info[irq], | 540 | memcpy(&iosapic_intr_info[new_irq], &iosapic_intr_info[irq], |
@@ -599,7 +599,7 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery, | |||
599 | index = find_iosapic(gsi); | 599 | index = find_iosapic(gsi); |
600 | if (index < 0) { | 600 | if (index < 0) { |
601 | printk(KERN_WARNING "%s: No IOSAPIC for GSI %u\n", | 601 | printk(KERN_WARNING "%s: No IOSAPIC for GSI %u\n", |
602 | __FUNCTION__, gsi); | 602 | __func__, gsi); |
603 | return -ENODEV; | 603 | return -ENODEV; |
604 | } | 604 | } |
605 | 605 | ||
@@ -608,7 +608,7 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery, | |||
608 | rte = iosapic_alloc_rte(); | 608 | rte = iosapic_alloc_rte(); |
609 | if (!rte) { | 609 | if (!rte) { |
610 | printk(KERN_WARNING "%s: cannot allocate memory\n", | 610 | printk(KERN_WARNING "%s: cannot allocate memory\n", |
611 | __FUNCTION__); | 611 | __func__); |
612 | return -ENOMEM; | 612 | return -ENOMEM; |
613 | } | 613 | } |
614 | 614 | ||
@@ -625,7 +625,7 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery, | |||
625 | (info->trigger != trigger || info->polarity != polarity)){ | 625 | (info->trigger != trigger || info->polarity != polarity)){ |
626 | printk (KERN_WARNING | 626 | printk (KERN_WARNING |
627 | "%s: cannot override the interrupt\n", | 627 | "%s: cannot override the interrupt\n", |
628 | __FUNCTION__); | 628 | __func__); |
629 | return -EINVAL; | 629 | return -EINVAL; |
630 | } | 630 | } |
631 | rte->refcnt++; | 631 | rte->refcnt++; |
@@ -647,7 +647,7 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery, | |||
647 | if (idesc->chip != &no_irq_type) | 647 | if (idesc->chip != &no_irq_type) |
648 | printk(KERN_WARNING | 648 | printk(KERN_WARNING |
649 | "%s: changing vector %d from %s to %s\n", | 649 | "%s: changing vector %d from %s to %s\n", |
650 | __FUNCTION__, irq_to_vector(irq), | 650 | __func__, irq_to_vector(irq), |
651 | idesc->chip->name, irq_type->name); | 651 | idesc->chip->name, irq_type->name); |
652 | idesc->chip = irq_type; | 652 | idesc->chip = irq_type; |
653 | } | 653 | } |
@@ -920,7 +920,7 @@ iosapic_register_platform_intr (u32 int_type, unsigned int gsi, | |||
920 | case ACPI_INTERRUPT_INIT: | 920 | case ACPI_INTERRUPT_INIT: |
921 | irq = create_irq(); | 921 | irq = create_irq(); |
922 | if (irq < 0) | 922 | if (irq < 0) |
923 | panic("%s: out of interrupt vectors!\n", __FUNCTION__); | 923 | panic("%s: out of interrupt vectors!\n", __func__); |
924 | vector = irq_to_vector(irq); | 924 | vector = irq_to_vector(irq); |
925 | delivery = IOSAPIC_INIT; | 925 | delivery = IOSAPIC_INIT; |
926 | break; | 926 | break; |
@@ -931,7 +931,7 @@ iosapic_register_platform_intr (u32 int_type, unsigned int gsi, | |||
931 | mask = 1; | 931 | mask = 1; |
932 | break; | 932 | break; |
933 | default: | 933 | default: |
934 | printk(KERN_ERR "%s: invalid int type 0x%x\n", __FUNCTION__, | 934 | printk(KERN_ERR "%s: invalid int type 0x%x\n", __func__, |
935 | int_type); | 935 | int_type); |
936 | return -1; | 936 | return -1; |
937 | } | 937 | } |
@@ -996,7 +996,7 @@ iosapic_system_init (int system_pcat_compat) | |||
996 | */ | 996 | */ |
997 | printk(KERN_INFO | 997 | printk(KERN_INFO |
998 | "%s: Disabling PC-AT compatible 8259 interrupts\n", | 998 | "%s: Disabling PC-AT compatible 8259 interrupts\n", |
999 | __FUNCTION__); | 999 | __func__); |
1000 | outb(0xff, 0xA1); | 1000 | outb(0xff, 0xA1); |
1001 | outb(0xff, 0x21); | 1001 | outb(0xff, 0x21); |
1002 | } | 1002 | } |
@@ -1011,7 +1011,7 @@ iosapic_alloc (void) | |||
1011 | if (!iosapic_lists[index].addr) | 1011 | if (!iosapic_lists[index].addr) |
1012 | return index; | 1012 | return index; |
1013 | 1013 | ||
1014 | printk(KERN_WARNING "%s: failed to allocate iosapic\n", __FUNCTION__); | 1014 | printk(KERN_WARNING "%s: failed to allocate iosapic\n", __func__); |
1015 | return -1; | 1015 | return -1; |
1016 | } | 1016 | } |
1017 | 1017 | ||
@@ -1109,14 +1109,14 @@ iosapic_remove (unsigned int gsi_base) | |||
1109 | index = find_iosapic(gsi_base); | 1109 | index = find_iosapic(gsi_base); |
1110 | if (index < 0) { | 1110 | if (index < 0) { |
1111 | printk(KERN_WARNING "%s: No IOSAPIC for GSI base %u\n", | 1111 | printk(KERN_WARNING "%s: No IOSAPIC for GSI base %u\n", |
1112 | __FUNCTION__, gsi_base); | 1112 | __func__, gsi_base); |
1113 | goto out; | 1113 | goto out; |
1114 | } | 1114 | } |
1115 | 1115 | ||
1116 | if (iosapic_lists[index].rtes_inuse) { | 1116 | if (iosapic_lists[index].rtes_inuse) { |
1117 | err = -EBUSY; | 1117 | err = -EBUSY; |
1118 | printk(KERN_WARNING "%s: IOSAPIC for GSI base %u is busy\n", | 1118 | printk(KERN_WARNING "%s: IOSAPIC for GSI base %u is busy\n", |
1119 | __FUNCTION__, gsi_base); | 1119 | __func__, gsi_base); |
1120 | goto out; | 1120 | goto out; |
1121 | } | 1121 | } |
1122 | 1122 | ||
@@ -1137,7 +1137,7 @@ map_iosapic_to_node(unsigned int gsi_base, int node) | |||
1137 | index = find_iosapic(gsi_base); | 1137 | index = find_iosapic(gsi_base); |
1138 | if (index < 0) { | 1138 | if (index < 0) { |
1139 | printk(KERN_WARNING "%s: No IOSAPIC for GSI %u\n", | 1139 | printk(KERN_WARNING "%s: No IOSAPIC for GSI %u\n", |
1140 | __FUNCTION__, gsi_base); | 1140 | __func__, gsi_base); |
1141 | return; | 1141 | return; |
1142 | } | 1142 | } |
1143 | iosapic_lists[index].node = node; | 1143 | iosapic_lists[index].node = node; |