projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Make vmalloc_to_phys() public
[cascardo/linux.git]
/
arch
/
powerpc
/
perf
/
hv-24x7.c
diff --git
a/arch/powerpc/perf/hv-24x7.c
b/arch/powerpc/perf/hv-24x7.c
index
9f9dfda
..
3b09ecf
100644
(file)
--- a/
arch/powerpc/perf/hv-24x7.c
+++ b/
arch/powerpc/perf/hv-24x7.c
@@
-493,14
+493,6
@@
static size_t event_to_attr_ct(struct hv_24x7_event_data *event)
}
}
-static unsigned long vmalloc_to_phys(void *v)
-{
- struct page *p = vmalloc_to_page(v);
-
- BUG_ON(!p);
- return page_to_phys(p) + offset_in_page(v);
-}
-
/* */
struct event_uniq {
struct rb_node node;