#ifndef _NAS782X_CPU_H #define _NAS782X_CPU_H #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) #include #include #endif /* !(__KERNEL_STRICT_NAMES || __ASSEMBLY__) */ #include #include #ifndef __KERNEL_STRICT_NAMES #ifndef __ASSEMBLY__ #define BIT(x) (1 << (x)) /* fix "implicit declaration of function" warnning */ void *memalign(size_t alignment, size_t bytes); void free(void* mem); void *malloc(size_t bytes); void *calloc(size_t n, size_t elem_size); #endif /* __ASSEMBLY__ */ #endif /* __KERNEL_STRICT_NAMES */ #endif /* _NAS782X_CPU_H */