Deleted Added
full compact
kern_clock.c (209371) kern_clock.c (209390)
1/*-
2 * Copyright (c) 1982, 1986, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
35 */
36
37#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

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

30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
35 */
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/sys/kern/kern_clock.c 209371 2010-06-20 21:33:29Z mav $");
38__FBSDID("$FreeBSD: head/sys/kern/kern_clock.c 209390 2010-06-21 09:55:56Z ed $");
39
40#include "opt_kdb.h"
41#include "opt_device_polling.h"
42#include "opt_hwpmc_hooks.h"
43#include "opt_ntp.h"
44#include "opt_watchdog.h"
45
46#include <sys/param.h>

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

785/*
786 * Handle a watchdog timeout by dumping interrupt information and
787 * then either dropping to DDB or panicking.
788 */
789static void
790watchdog_fire(void)
791{
792 int nintr;
39
40#include "opt_kdb.h"
41#include "opt_device_polling.h"
42#include "opt_hwpmc_hooks.h"
43#include "opt_ntp.h"
44#include "opt_watchdog.h"
45
46#include <sys/param.h>

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

785/*
786 * Handle a watchdog timeout by dumping interrupt information and
787 * then either dropping to DDB or panicking.
788 */
789static void
790watchdog_fire(void)
791{
792 int nintr;
793 u_int64_t inttotal;
793 uint64_t inttotal;
794 u_long *curintr;
795 char *curname;
796
797 curintr = intrcnt;
798 curname = intrnames;
799 inttotal = 0;
800 nintr = eintrcnt - intrcnt;
801

--- 18 unchanged lines hidden ---
794 u_long *curintr;
795 char *curname;
796
797 curintr = intrcnt;
798 curname = intrnames;
799 inttotal = 0;
800 nintr = eintrcnt - intrcnt;
801

--- 18 unchanged lines hidden ---