> OK, how about these 2 simple patches for upstream? Then we can change > powerpc, etc. > > Perhaps, instead of arch_has_fill_sigtrap_info we can start with the > patch below? Since tracehook_report_syscall_exit() is inline we can > can add the "if (step)" code without ifdef's.
I don't understand the intent of breaking the existing arch's first at all. Just leave them alone. When the arch hook is not defined, just 0-fill the siginfo_t. If you do the patches in the right order, then there will never even be a tree state where powerpc et al get any change at all before the final one. Thanks, Roland