diff options
author | AlmuHS <almuhs@github.com> | 2019-04-15 16:13:17 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-04-15 16:13:17 +0200 |
commit | 2351dbbf78cc779e956e3b890284e03ec23a488b (patch) | |
tree | 024aeb822ba1215d2109d42f96bf668a3b4bdbbb /kern | |
parent | 2acc8d867450daa31edd6ee8351026085b0d0e72 (diff) |
formated code
Diffstat (limited to 'kern')
-rw-r--r-- | kern/cpu_number.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kern/cpu_number.h b/kern/cpu_number.h index 0d24525a..04c7aba2 100644 --- a/kern/cpu_number.h +++ b/kern/cpu_number.h @@ -37,13 +37,13 @@ extern unsigned int master_cpu; /* 'master' processor - keeps time */ extern unsigned apic2kernel[NCPUS]; #if (NCPUS == 1) - /* cpu number is always 0 on a single processor system */ - #define cpu_number() (0) +/* cpu number is always 0 on a single processor system */ +#define cpu_number() (0) #else /* NCPUS == 1 */ - /*TODO: Get kernelID from cpus vector*/ - int cpu_number(); +/*TODO: Get kernelID from cpus vector*/ +int cpu_number(); #endif /* NCPUS != 1 */ |