aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-09-09 23:27:02 +0200
committerSteven Rostedt <[email protected]>2015-10-01 09:32:20 -0400
commit6db0290322101f971d6c06ee652d9838f3f4ee92 (patch)
tree3690d972ab36b1647e36ff033bbff0c0011f8db8 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent79ac6ef521075d0f40805df77e8890c55f538fe4 (diff)
ftrace: Remove redundant swap function
To cover the common case of sorting an array of pointers, Daniel Wagner recently modified the library sort() to use a specific swap function for size==8, in addition to the size==4 case which was already handled. Since sizeof(long) is either 4 or 8, ftrace_swap_ips() is redundant and we can just let sort() pick an appropriate and fast swap callback. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions