sections: move is_kernel_inittext() into sections.h
[linux-2.6-microblaze.git] / include / linux / kallsyms.h
index 62ce22b..bb5d9ec 100644 (file)
 struct cred;
 struct module;
 
-static inline int is_kernel_inittext(unsigned long addr)
-{
-       if (addr >= (unsigned long)_sinittext
-           && addr < (unsigned long)_einittext)
-               return 1;
-       return 0;
-}
-
 static inline int is_kernel_text(unsigned long addr)
 {
        if ((addr >= (unsigned long)_stext && addr < (unsigned long)_etext))