projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Detach sched.h from mm.h
[deliverable/linux.git]
/
drivers
/
oprofile
/
buffer_sync.c
diff --git
a/drivers/oprofile/buffer_sync.c
b/drivers/oprofile/buffer_sync.c
index 43e521e991264208b0a519dce29155766acf6eb4..edd6de9957260abb4f631b22090903d916fc8b34 100644
(file)
--- a/
drivers/oprofile/buffer_sync.c
+++ b/
drivers/oprofile/buffer_sync.c
@@
-26,6
+26,7
@@
#include <linux/profile.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/profile.h>
#include <linux/module.h>
#include <linux/fs.h>
+#include <linux/sched.h>
#include "oprofile_stats.h"
#include "event_buffer.h"
#include "oprofile_stats.h"
#include "event_buffer.h"
@@
-220,8
+221,8
@@
static unsigned long get_exec_dcookie(struct mm_struct * mm)
continue;
if (!(vma->vm_flags & VM_EXECUTABLE))
continue;
continue;
if (!(vma->vm_flags & VM_EXECUTABLE))
continue;
- cookie = fast_get_dcookie(vma->vm_file->f_dentry,
- vma->vm_file->f_
vfs
mnt);
+ cookie = fast_get_dcookie(vma->vm_file->f_
path.
dentry,
+ vma->vm_file->f_
path.
mnt);
break;
}
break;
}
@@
-246,8
+247,8
@@
static unsigned long lookup_dcookie(struct mm_struct * mm, unsigned long addr, o
continue;
if (vma->vm_file) {
continue;
if (vma->vm_file) {
- cookie = fast_get_dcookie(vma->vm_file->f_dentry,
- vma->vm_file->f_
vfs
mnt);
+ cookie = fast_get_dcookie(vma->vm_file->f_
path.
dentry,
+ vma->vm_file->f_
path.
mnt);
*offset = (vma->vm_pgoff << PAGE_SHIFT) + addr -
vma->vm_start;
} else {
*offset = (vma->vm_pgoff << PAGE_SHIFT) + addr -
vma->vm_start;
} else {
This page took
0.029903 seconds
and
5
git commands to generate.