Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 822 → Rev 821

/kernel/trunk/generic/src/cpu/cpu.c
53,8 → 53,7
#ifdef CONFIG_SMP
if (config.cpu_active == 1) {
#endif /* CONFIG_SMP */
cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count,
FRAME_ATOMIC);
cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count);
if (!cpus)
panic("malloc/cpus");