Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
arch/x86/include/asm/uprobes.h
··· 42 42 }; 43 43 44 44 struct arch_uprobe_task { 45 - unsigned long saved_trap_nr; 46 45 #ifdef CONFIG_X86_64 47 46 unsigned long saved_scratch_register; 48 47 #endif 48 + unsigned int saved_trap_nr; 49 49 unsigned int saved_tf; 50 50 }; 51 51