View | Details | Raw Unified | Return to bug 27008
Collapse All | Expand All

(-)./alpha/alpha/clock.c (+2 lines)
Lines 636-641 Link Here
636
int
636
int
637
sysbeep(int pitch, int period)
637
sysbeep(int pitch, int period)
638
{
638
{
639
	if (!period)
640
		return (0);
639
641
640
	mtx_lock_spin(&clock_lock);
642
	mtx_lock_spin(&clock_lock);
641
643
(-)./i386/isa/clock.c (-1 / +6 lines)
Lines 524-530 Link Here
524
int
524
int
525
sysbeep(int pitch, int period)
525
sysbeep(int pitch, int period)
526
{
526
{
527
	int x = splclock();
527
	int x;
528
529
	if (!period)
530
		return (0);
531
532
	x = splclock();
528
533
529
	if (acquire_timer2(TIMER_SQWAVE|TIMER_16BIT))
534
	if (acquire_timer2(TIMER_SQWAVE|TIMER_16BIT))
530
		if (!beeping) {
535
		if (!beeping) {
(-)./ia64/ia64/clock.c (-1 / +6 lines)
Lines 471-477 Link Here
471
int
471
int
472
sysbeep(int pitch, int period)
472
sysbeep(int pitch, int period)
473
{
473
{
474
	int x = splhigh();
474
	int x;
475
476
	if (!period)
477
		return (0);
478
479
	x = splhigh();
475
480
476
	if (acquire_timer2(TIMER_SQWAVE|TIMER_16BIT))
481
	if (acquire_timer2(TIMER_SQWAVE|TIMER_16BIT))
477
		if (!beeping) {
482
		if (!beeping) {
(-)./pc98/pc98/clock.c (-1 / +6 lines)
Lines 577-583 Link Here
577
int
577
int
578
sysbeep(int pitch, int period)
578
sysbeep(int pitch, int period)
579
{
579
{
580
	int x = splclock();
580
	int x;
581
582
	if (!period)
583
		return (0);
584
585
	x = splclock();
581
586
582
#ifdef PC98
587
#ifdef PC98
583
	if (acquire_timer1(TIMER_SQWAVE|TIMER_16BIT))
588
	if (acquire_timer1(TIMER_SQWAVE|TIMER_16BIT))

Return to bug 27008