git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[safe/jmp/linux-2.6]
/
mm
/
kmemleak-test.c
diff --git
a/mm/kmemleak-test.c
b/mm/kmemleak-test.c
index
d5292fc
..
177a516
100644
(file)
--- a/
mm/kmemleak-test.c
+++ b/
mm/kmemleak-test.c
@@
-36,7
+36,7
@@
struct test_node {
};
static LIST_HEAD(test_list);
};
static LIST_HEAD(test_list);
-static DEFINE_PER_CPU(void *, test_pointer);
+static DEFINE_PER_CPU(void *,
kmemleak_
test_pointer);
/*
* Some very simple testing. This function needs to be extended for
/*
* Some very simple testing. This function needs to be extended for
@@
-86,9
+86,9
@@
static int __init kmemleak_test_init(void)
}
for_each_possible_cpu(i) {
}
for_each_possible_cpu(i) {
- per_cpu(test_pointer, i) = kmalloc(129, GFP_KERNEL);
+ per_cpu(
kmemleak_
test_pointer, i) = kmalloc(129, GFP_KERNEL);
pr_info("kmemleak: kmalloc(129) = %p\n",
pr_info("kmemleak: kmalloc(129) = %p\n",
- per_cpu(test_pointer, i));
+ per_cpu(
kmemleak_
test_pointer, i));
}
return 0;
}
return 0;