projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c6ef6
)
[FIX] Flag VM_EXECUTABLE is not used in linux kernel since 3.7. I replace it by condi...
author
Anastasia Lyupa
<a.lyupa@samsung.com>
Fri, 22 Mar 2013 10:50:39 +0000
(14:50 +0400)
committer
Anastasia Lyupa
<a.lyupa@samsung.com>
Fri, 22 Mar 2013 10:50:39 +0000
(14:50 +0400)
driver/us_proc_inst.c
patch
|
blob
|
history
diff --git
a/driver/us_proc_inst.c
b/driver/us_proc_inst.c
index
6ca87b9
..
3f878bf
100644
(file)
--- a/
driver/us_proc_inst.c
+++ b/
driver/us_proc_inst.c
@@
-1164,7
+1164,7
@@
static void send_plt(struct us_ip *ip)
if (vma && check_vma(vma)) {
char *name = NULL;
unsigned long real_addr;
- unsigned long real_got =
vma->vm_flags & VM_EXECUTABLE
?
+ unsigned long real_got =
current->mm->exe_file == vma->vm_file
?
ip->got_addr :
ip->got_addr + vma->vm_start;