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
/
cris
/
kernel
/
profile.c
diff --git
a/arch/cris/kernel/profile.c
b/arch/cris/kernel/profile.c
index
69c5218
..
f60ab78
100644
(file)
--- a/
arch/cris/kernel/profile.c
+++ b/
arch/cris/kernel/profile.c
@@
-59,7
+59,7
@@
static int
__init init_cris_profile(void)
{
struct proc_dir_entry *entry;
__init init_cris_profile(void)
{
struct proc_dir_entry *entry;
- sample_buffer =
(char*)
kmalloc(SAMPLE_BUFFER_SIZE, GFP_KERNEL);
+ sample_buffer = kmalloc(SAMPLE_BUFFER_SIZE, GFP_KERNEL);
sample_buffer_pos = sample_buffer;
entry = create_proc_entry("system_profile", S_IWUSR | S_IRUGO, NULL);
if (entry) {
sample_buffer_pos = sample_buffer;
entry = create_proc_entry("system_profile", S_IWUSR | S_IRUGO, NULL);
if (entry) {