[uPATCH 2.2] bogus AHZ value in process accounting

B. James Phillippe (bryan@terran.org)
Sun, 26 Sep 1999 13:56:53 -0700 (PDT)


Is there a reason not to do this? It looks like this is wrong for
architectures such as Alpha.

--- include/linux/acct.h.orig Sun Sep 26 13:52:13 1999
+++ include/linux/acct.h Sun Sep 26 13:54:04 1999
@@ -16,6 +16,7 @@
#define _LINUX_ACCT_H

#include <linux/types.h>
+#include <asm/param.h>

/*
* comp_t is a 16-bit "floating" point number with a 3-bit base 8
@@ -69,7 +70,7 @@
#define ACORE 0x08 /* ... dumped core */
#define AXSIG 0x10 /* ... was killed by a signal */

-#define AHZ 100
+#define AHZ HZ

#ifdef __KERNEL__

-bp

--
# bryan at terran dot org
# http://www.terran.org/~bryan

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/