Skip to content

Commit

Permalink
uprobes: Make arch_uprobe_task->saved_trap_nr "unsigned int"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleg Nesterov committed Sep 15, 2012
1 parent d6a00b3 commit baedbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/uprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit baedbf0

Please sign in to comment.