]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/module.h
percpu, module: implement and use is_kernel/module_percpu_address()
[net-next-2.6.git] / include / linux / module.h
index 87d247ac676112b7f2cad30511d0bf17b19b084f..f0e2659f4e3ec7224b672540cda24a7cdca3303d 100644 (file)
@@ -395,6 +395,7 @@ static inline int module_is_live(struct module *mod)
 struct module *__module_text_address(unsigned long addr);
 struct module *__module_address(unsigned long addr);
 bool is_module_address(unsigned long addr);
+bool is_module_percpu_address(unsigned long addr);
 bool is_module_text_address(unsigned long addr);
 
 static inline int within_module_core(unsigned long addr, struct module *mod)