* On PPC64 ABIv1 the function pointer actually points to the
         * function's descriptor. The first entry in the descriptor is the
         * address of the function text.
-        *
-        * However, we may also receive pointer to an assembly symbol. To
-        * detect that, we first check if the function pointer we receive
-        * already points to kernel/module text and we only dereference it
-        * if it doesn't.
         */
-       if (kernel_text_address((unsigned long)func))
-               return (unsigned long)func;
-       else
-               return ((func_descr_t *)func)->entry;
+       return ((func_descr_t *)func)->entry;
 #else
        return (unsigned long)func;
 #endif