Changeset 5f85c91 in mainline for generic/src/cpu/cpu.c
- Timestamp:
- 2005-11-08T12:22:35Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a140b
- Parents:
- 389f41e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/cpu/cpu.c
r389f41e r5f85c91 50 50 int i, j; 51 51 52 #ifdef __SMP__52 #ifdef CONFIG_SMP 53 53 if (config.cpu_active == 1) { 54 #endif /* __SMP__*/54 #endif /* CONFIG_SMP */ 55 55 cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count); 56 56 if (!cpus) … … 67 67 cpus[i].id = i; 68 68 69 #ifdef __SMP__69 #ifdef CONFIG_SMP 70 70 waitq_initialize(&cpus[i].kcpulb_wq); 71 71 #endif /* __SMP */ … … 76 76 } 77 77 78 #ifdef __SMP__78 #ifdef CONFIG_SMP 79 79 } 80 #endif /* __SMP__*/80 #endif /* CONFIG_SMP */ 81 81 82 82 CPU = &cpus[config.cpu_active-1];
Note:
See TracChangeset
for help on using the changeset viewer.