Changeset 1433ecda in mainline for kernel/arch/sparc64/src/smp/sun4u
- Timestamp:
- 2018-04-04T15:42:37Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- Location:
- kernel/arch/sparc64/src/smp/sun4u
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/smp/sun4u/ipi.c
r47b2d7e3 r1433ecda 59 59 * @param func value the first data item of the vector will be set to 60 60 */ 61 static inline void set_intr_w_data(void (* func)(void))61 static inline void set_intr_w_data(void (*func)(void)) 62 62 { 63 63 #if defined (US) … … 87 87 * @param func Function to be invoked. 88 88 */ 89 static void cross_call(int mid, void (* func)(void))89 static void cross_call(int mid, void (*func)(void)) 90 90 { 91 91 uint64_t status; … … 148 148 unsigned int i; 149 149 150 void (* func)(void);150 void (*func)(void); 151 151 152 152 switch (ipi) { -
kernel/arch/sparc64/src/smp/sun4u/smp.c
r47b2d7e3 r1433ecda 121 121 node = ofw_tree_find_child_by_device_type(cpus_parent(), "cpu"); 122 122 for (i = 0; node; 123 node = ofw_tree_find_peer_by_device_type(node, "cpu"), i++)123 node = ofw_tree_find_peer_by_device_type(node, "cpu"), i++) 124 124 wakeup_cpu(node); 125 125 } else if (is_us_iv()) {
Note:
See TracChangeset
for help on using the changeset viewer.
