"(unsigned long)__builtin_return_address(0)", _RET_IP_, CALLER_ADDR0?
as another possibility for standardizing code, is there a standard
for the simplification mentioned in the subject and documented here:
it's a bit confusing that, even within the kernel/ directory, all three constructs are used, even sometimes being mixed in the same source file, which is really more confusing than it has to be.
is there a standard?
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca Linked In: http://www.linkedin.com/in/rpjday Twitter: http://twitter.com/rpjday
========================================================================