X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-m68k%2Fpage.h;h=f206dfbc1d486268aff67915433f5f2bf7d54f04;hb=b3426599af9524104be6938bcb1fcaab314781c7;hp=206313e2a817798a3e6eb8d77f52230d19fa59b7;hpb=9ab7486e446447c8e62f8f46ca85b809e6a9d491;p=linux-2.6 diff --git a/include/asm-m68k/page.h b/include/asm-m68k/page.h index 206313e2a8..f206dfbc1d 100644 --- a/include/asm-m68k/page.h +++ b/include/asm-m68k/page.h @@ -107,20 +107,6 @@ typedef struct { unsigned long pgprot; } pgprot_t; /* to align the pointer to the (next) page boundary */ #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) -/* Pure 2^n version of get_order */ -static inline int get_order(unsigned long size) -{ - int order; - - size = (size-1) >> (PAGE_SHIFT-1); - order = -1; - do { - size >>= 1; - order++; - } while (size); - return order; -} - #endif /* !__ASSEMBLY__ */ #include @@ -192,4 +178,6 @@ static inline void *__va(unsigned long x) #endif /* __KERNEL__ */ +#include + #endif /* _M68K_PAGE_H */