git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
alpha
/
oprofile
/
common.c
diff --git
a/arch/alpha/oprofile/common.c
b/arch/alpha/oprofile/common.c
index
908eb4a
..
9fc0eeb
100644
(file)
--- a/
arch/alpha/oprofile/common.c
+++ b/
arch/alpha/oprofile/common.c
@@
-65,7
+65,7
@@
op_axp_setup(void)
model->reg_setup(®, ctr, &sys);
/* Configure the registers on all cpus. */
model->reg_setup(®, ctr, &sys);
/* Configure the registers on all cpus. */
- smp_call_function(model->cpu_setup, ®, 0, 1);
+
(void)
smp_call_function(model->cpu_setup, ®, 0, 1);
model->cpu_setup(®);
return 0;
}
model->cpu_setup(®);
return 0;
}
@@
-86,7
+86,7
@@
op_axp_cpu_start(void *dummy)
static int
op_axp_start(void)
{
static int
op_axp_start(void)
{
- smp_call_function(op_axp_cpu_start, NULL, 0, 1);
+
(void)
smp_call_function(op_axp_cpu_start, NULL, 0, 1);
op_axp_cpu_start(NULL);
return 0;
}
op_axp_cpu_start(NULL);
return 0;
}
@@
-101,7
+101,7
@@
op_axp_cpu_stop(void *dummy)
static void
op_axp_stop(void)
{
static void
op_axp_stop(void)
{
- smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
+
(void)
smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
op_axp_cpu_stop(NULL);
}
op_axp_cpu_stop(NULL);
}
@@
-112,7
+112,7
@@
op_axp_create_files(struct super_block * sb, struct dentry * root)
for (i = 0; i < model->num_counters; ++i) {
struct dentry *dir;
for (i = 0; i < model->num_counters; ++i) {
struct dentry *dir;
- char buf[
3
];
+ char buf[
4
];
snprintf(buf, sizeof buf, "%d", i);
dir = oprofilefs_mkdir(sb, root, buf);
snprintf(buf, sizeof buf, "%d", i);
dir = oprofilefs_mkdir(sb, root, buf);