X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fcpu_func.h;h=45e8a0a05778b27e6ac453d92222f4acc1da88e9;hb=c56289ddafce3d1ec442fb18064f136c2c47d0bb;hp=f701f02bfef0b5258d1451e7d9c40084244e7771;hpb=c7819d409ab7671991bf906482b7adcc21266f75;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/cpu_func.h b/include/cpu_func.h index f701f02..45e8a0a 100644 --- a/include/cpu_func.h +++ b/include/cpu_func.h @@ -18,7 +18,7 @@ int cpu_status(u32 nr); int cpu_reset(u32 nr); int cpu_disable(u32 nr); -int cpu_release(u32 nr, int argc, char * const argv[]); +int cpu_release(u32 nr, int argc, char *const argv[]); static inline int cpumask_next(int cpu, unsigned int mask) { @@ -45,7 +45,7 @@ int is_core_valid(unsigned int core); * This is used on PowerPC, SH and X86 machines as a CPU init mechanism. It is * called during the pre-relocation init sequence in board_init_f(). * - * @return 0 if oK, -ve on error + * Return: 0 if oK, -ve on error */ int checkcpu(void); @@ -59,6 +59,7 @@ int dcache_status(void); void dcache_enable(void); void dcache_disable(void); void mmu_disable(void); +int mmu_status(void); /* arch/$(ARCH)/lib/cache.c */ void enable_caches(void); @@ -84,6 +85,6 @@ enum { */ int cleanup_before_linux_select(int flags); -void reset_cpu(ulong addr); -; +void reset_cpu(void); + #endif