Deleted Added
full compact
smp.h (222813) smp.h (235622)
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
1/*-
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
9 * $FreeBSD: head/sys/sys/smp.h 222813 2011-06-07 08:46:13Z attilio $
9 * $FreeBSD: head/sys/sys/smp.h 235622 2012-05-18 18:55:58Z iwasaki $
10 */
11
12#ifndef _SYS_SMP_H_
13#define _SYS_SMP_H_
14
15#ifdef _KERNEL
16
17#ifndef LOCORE

--- 140 unchanged lines hidden (view full) ---

158int cpu_mp_probe(void);
159void cpu_mp_setmaxid(void);
160void cpu_mp_start(void);
161
162void forward_signal(struct thread *);
163int restart_cpus(cpuset_t);
164int stop_cpus(cpuset_t);
165int stop_cpus_hard(cpuset_t);
10 */
11
12#ifndef _SYS_SMP_H_
13#define _SYS_SMP_H_
14
15#ifdef _KERNEL
16
17#ifndef LOCORE

--- 140 unchanged lines hidden (view full) ---

158int cpu_mp_probe(void);
159void cpu_mp_setmaxid(void);
160void cpu_mp_start(void);
161
162void forward_signal(struct thread *);
163int restart_cpus(cpuset_t);
164int stop_cpus(cpuset_t);
165int stop_cpus_hard(cpuset_t);
166#if defined(__amd64__)
166#if defined(__amd64__) || defined(__i386__)
167int suspend_cpus(cpuset_t);
168#endif
169void smp_rendezvous_action(void);
170extern struct mtx smp_ipi_mtx;
171
172#endif /* SMP */
173void smp_no_rendevous_barrier(void *);
174void smp_rendezvous(void (*)(void *),
175 void (*)(void *),
176 void (*)(void *),
177 void *arg);
178void smp_rendezvous_cpus(cpuset_t,
179 void (*)(void *),
180 void (*)(void *),
181 void (*)(void *),
182 void *arg);
183#endif /* !LOCORE */
184#endif /* _KERNEL */
185#endif /* _SYS_SMP_H_ */
167int suspend_cpus(cpuset_t);
168#endif
169void smp_rendezvous_action(void);
170extern struct mtx smp_ipi_mtx;
171
172#endif /* SMP */
173void smp_no_rendevous_barrier(void *);
174void smp_rendezvous(void (*)(void *),
175 void (*)(void *),
176 void (*)(void *),
177 void *arg);
178void smp_rendezvous_cpus(cpuset_t,
179 void (*)(void *),
180 void (*)(void *),
181 void (*)(void *),
182 void *arg);
183#endif /* !LOCORE */
184#endif /* _KERNEL */
185#endif /* _SYS_SMP_H_ */