Changeset 5f85c91 in mainline for generic/src/main/kinit.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/main/kinit.c
r389f41e r5f85c91 44 44 #include <memstr.h> 45 45 46 #ifdef __SMP__46 #ifdef CONFIG_SMP 47 47 #include <arch/smp/mps.h> 48 #endif /* __SMP__*/48 #endif /* CONFIG_SMP */ 49 49 50 50 #include <synch/waitq.h> … … 67 67 interrupts_disable(); 68 68 69 #ifdef __SMP__69 #ifdef CONFIG_SMP 70 70 if (config.cpu_count > 1) { 71 71 /* … … 85 85 else panic("thread_create/kmp"); 86 86 } 87 #endif /* __SMP__*/87 #endif /* CONFIG_SMP */ 88 88 /* 89 89 * Now that all CPUs are up, we can report what we've found. … … 96 96 } 97 97 98 #ifdef __SMP__98 #ifdef CONFIG_SMP 99 99 if (config.cpu_count > 1) { 100 100 /* … … 114 114 } 115 115 } 116 #endif /* __SMP__*/116 #endif /* CONFIG_SMP */ 117 117 118 118 interrupts_enable();
Note:
See TracChangeset
for help on using the changeset viewer.