Messages in this thread | | | Date | Sun, 20 Dec 2009 20:03:55 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH 1/2] kernel: Use CALLER_ADDR0 macro. |
| |
Thiago Farina wrote: > Use CALLER_ADDR0 instead of (unsigned long)__builtin_return_address(0), > since this macro was created for this. > > This patch was generated by: > sed -i "s/(unsigned long)__builtin_return_address(0)/CALLER_ADDR0/g" path/to/file
The new macro looks more obfuscated than the old straight forward call. I fail to see the improvement.
-Andi
| |