On Wed, 1 Aug 2018 11:53:31 -0700 Nick Desaulniers <[email protected]> wrote:
> As part of the effort to reduce the code duplication between _THIS_IP_ > and current_text_addr(), let's consolidate callers of > current_text_addr() to use _THIS_IP_. Why not switch everything to current_text_addr()? _THIS_IP_ is ugly ;) Several architectures (s390, sparc, sh, ...) do funky things in their current_text_addr(). Does the generic kernel.h implementation of current_text_addr() work OK on those architectures?

