summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-09-03 17:02:16 +0200
committerAnton Arapov <anton@redhat.com>2012-10-29 11:23:47 +0100
commite4d06a782f8e092ed3f60b69cd0b61033b5202bd (patch)
treefd7010788b5c3447d4e7eebed3e1dfbfcdfd3152
parent9df971294861bd6de1d699b4f0cedcfb8cfbc95f (diff)
downloadkernel-uprobes-e4d06a782f8e092ed3f60b69cd0b61033b5202bd.zip
kernel-uprobes-e4d06a782f8e092ed3f60b69cd0b61033b5202bd.tar.gz
kernel-uprobes-e4d06a782f8e092ed3f60b69cd0b61033b5202bd.tar.xz
uprobes: Make arch_uprobe_task->saved_trap_nr "unsigned int"
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>
-rw-r--r--arch/x86/include/asm/uprobes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/uprobes.h b/arch/x86/include/asm/uprobes.h
index d561ff5..8ff8be7 100644
--- 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;
};