/* See is_module_text_address() if you simply want to see if the address is code (not data).  */
bool is_module_address(unsigned long addr)
/* See is_module_text_address() if you simply want to see if the address is code (not data).  */
bool is_module_address(unsigned long addr)
{
	bool ret;
	preempt_disable();
	ret = __module_address(addr) != NULL;
	preempt_enable();
	return ret;
}