aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/summit_32.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-03-03 14:37:23 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:57 -0400
commit77bf90ed66116a1fc0e2f0554ecac75a54290cc0 (patch)
tree7b71df7149473be877dfa4488e7e5e154c2cd508 /arch/x86/kernel/summit_32.c
parent282bfe21cf0e2af9eac052c89bcc0a5ace80352f (diff)
x86: replace remaining __FUNCTION__ occurances
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/summit_32.c')
-rw-r--r--arch/x86/kernel/summit_32.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kernel/summit_32.c b/arch/x86/kernel/summit_32.c
index c7b579db843d..30f04c3e68e4 100644
--- a/arch/x86/kernel/summit_32.c
+++ b/arch/x86/kernel/summit_32.c
@@ -47,7 +47,7 @@ static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus)
47 } 47 }
48 } 48 }
49 if (i == rio_table_hdr->num_rio_dev) { 49 if (i == rio_table_hdr->num_rio_dev) {
50 printk(KERN_ERR "%s: Couldn't find owner Cyclone for Winnipeg!\n", __FUNCTION__); 50 printk(KERN_ERR "%s: Couldn't find owner Cyclone for Winnipeg!\n", __func__);
51 return last_bus; 51 return last_bus;
52 } 52 }
53 53
@@ -58,7 +58,7 @@ static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus)
58 } 58 }
59 } 59 }
60 if (i == rio_table_hdr->num_scal_dev) { 60 if (i == rio_table_hdr->num_scal_dev) {
61 printk(KERN_ERR "%s: Couldn't find owner Twister for Cyclone!\n", __FUNCTION__); 61 printk(KERN_ERR "%s: Couldn't find owner Twister for Cyclone!\n", __func__);
62 return last_bus; 62 return last_bus;
63 } 63 }
64 64
@@ -88,7 +88,7 @@ static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus)
88 num_buses = 9; 88 num_buses = 9;
89 break; 89 break;
90 default: 90 default:
91 printk(KERN_INFO "%s: Unsupported Winnipeg type!\n", __FUNCTION__); 91 printk(KERN_INFO "%s: Unsupported Winnipeg type!\n", __func__);
92 return last_bus; 92 return last_bus;
93 } 93 }
94 94
@@ -103,13 +103,13 @@ static int __init build_detail_arrays(void)
103 int i, scal_detail_size, rio_detail_size; 103 int i, scal_detail_size, rio_detail_size;
104 104
105 if (rio_table_hdr->num_scal_dev > MAX_NUMNODES) { 105 if (rio_table_hdr->num_scal_dev > MAX_NUMNODES) {
106 printk(KERN_WARNING "%s: MAX_NUMNODES too low! Defined as %d, but system has %d nodes.\n", __FUNCTION__, MAX_NUMNODES, rio_table_hdr->num_scal_dev); 106 printk(KERN_WARNING "%s: MAX_NUMNODES too low! Defined as %d, but system has %d nodes.\n", __func__, MAX_NUMNODES, rio_table_hdr->num_scal_dev);
107 return 0; 107 return 0;
108 } 108 }
109 109
110 switch (rio_table_hdr->version) { 110 switch (rio_table_hdr->version) {
111 default: 111 default:
112 printk(KERN_WARNING "%s: Invalid Rio Grande Table Version: %d\n", __FUNCTION__, rio_table_hdr->version); 112 printk(KERN_WARNING "%s: Invalid Rio Grande Table Version: %d\n", __func__, rio_table_hdr->version);
113 return 0; 113 return 0;
114 case 2: 114 case 2:
115 scal_detail_size = 11; 115 scal_detail_size = 11;
@@ -154,7 +154,7 @@ void __init setup_summit(void)
154 offset = *((unsigned short *)(ptr + offset)); 154 offset = *((unsigned short *)(ptr + offset));
155 } 155 }
156 if (!rio_table_hdr) { 156 if (!rio_table_hdr) {
157 printk(KERN_ERR "%s: Unable to locate Rio Grande Table in EBDA - bailing!\n", __FUNCTION__); 157 printk(KERN_ERR "%s: Unable to locate Rio Grande Table in EBDA - bailing!\n", __func__);
158 return; 158 return;
159 } 159 }
160 160