lkml.org 
[lkml]   [1999]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[uPATCH 2.2] bogus AHZ value in process accounting

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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.027 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site