diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-06-01 21:29:36 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-06-01 21:29:36 +0000 |
commit | d7f89dde90cf711a12a91fa9ddc68c48c384c86c (patch) | |
tree | 9628cde42a120fdb472489e38c9e6c9971cfcda6 /sys | |
parent | 680afd29e952c382d1e3af6801ceffc386c95454 (diff) |
- whitespace cleanup
- add a comment explaining how OCTEON_MAXCPUS was derived
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/octeon/include/octeonvar.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/octeon/include/octeonvar.h b/sys/arch/octeon/include/octeonvar.h index 1a3023a2e2f..9c6d7fbcbce 100644 --- a/sys/arch/octeon/include/octeonvar.h +++ b/sys/arch/octeon/include/octeonvar.h @@ -204,6 +204,8 @@ struct octeon_fau_map { #ifdef _KERNEL #define OCTEON_ARGV_MAX 64 + +/* Maximum number of cores on <= CN52XX */ #define OCTEON_MAXCPUS 4 struct boot_desc { @@ -302,7 +304,7 @@ ffs64(uint64_t val) return 64 - ret; } -/* +/* * Prefetch * * OCTEON_PREF normal (L1 and L2) @@ -383,7 +385,7 @@ static inline uint32_t octeon_disable_interrupt(uint32_t *new) { uint32_t s, tmp; - + __asm __volatile ( _ASM_PROLOGUE " mfc0 %[s], $12 \n" @@ -409,7 +411,7 @@ octeon_restore_status(uint32_t s) static inline uint64_t octeon_get_cycles(void) -{ +{ uint64_t tmp; __asm __volatile ( |