Module Name: src Committed By: skrll Date: Sun Feb 8 13:51:23 UTC 2015
Modified Files: src/sys/arch/arm/arm32: cortex_pmc.c Log Message: RCSid police To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/arm32/cortex_pmc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/arm32/cortex_pmc.c diff -u src/sys/arch/arm/arm32/cortex_pmc.c:1.2 src/sys/arch/arm/arm32/cortex_pmc.c:1.3 --- src/sys/arch/arm/arm32/cortex_pmc.c:1.2 Wed Aug 29 19:10:15 2012 +++ src/sys/arch/arm/arm32/cortex_pmc.c Sun Feb 8 13:51:23 2015 @@ -1,3 +1,5 @@ +/* $NetBSD: cortex_pmc.c,v 1.3 2015/02/08 13:51:23 skrll Exp $ */ + /* Copyright (c) 2007 Microsoft * All rights reserved. * @@ -33,12 +35,12 @@ */ #include <sys/cdefs.h> -/* __KERNEL_RCSID(0, "$NetBSD: cortex_pmc.c,v 1.2 2012/08/29 19:10:15 matt Exp $"); */ +/* __KERNEL_RCSID(0, "$NetBSD: cortex_pmc.c,v 1.3 2015/02/08 13:51:23 skrll Exp $"); */ #include "opt_perfctrs.h" #include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> -#include <sys/kernel.h> +#include <sys/kernel.h> #include <sys/time.h> #include <sys/timetc.h> @@ -94,7 +96,7 @@ delay(u_int arg) delta = usecs = 0; while (arg > usecs) { cur = armreg_pmccntr_read(); - + /* overflow flag is moved to a separate register and is not read from PMC Control Register */ ctrl = armreg_pmovsr_read();