projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a00b3
)
uprobes: Make arch_uprobe_task->saved_trap_nr "unsigned int"
author
Oleg Nesterov
<oleg@redhat.com>
Mon, 3 Sep 2012 15:02:16 +0000
(17:02 +0200)
committer
Oleg Nesterov
<oleg@redhat.com>
Sat, 15 Sep 2012 15:37:32 +0000
(17:37 +0200)
Make arch_uprobe_task->saved_trap_nr "unsigned int" and move it down
after ->saved_scratch_register, this changes sizeof() from 24 to 16.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
arch/x86/include/asm/uprobes.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/uprobes.h
b/arch/x86/include/asm/uprobes.h
index
d561ff5
..
8ff8be7
100644
(file)
--- a/
arch/x86/include/asm/uprobes.h
+++ b/
arch/x86/include/asm/uprobes.h
@@
-42,10
+42,10
@@
struct arch_uprobe {
};
struct arch_uprobe_task {
- unsigned long saved_trap_nr;
#ifdef CONFIG_X86_64
unsigned long saved_scratch_register;
#endif
+ unsigned int saved_trap_nr;
unsigned int saved_tf;
};