[PATCH] ia64: Selectable Timer Interrupt Frequency
authorChristoph Lameter <clameter@engr.sgi.com>
Thu, 23 Jun 2005 07:08:27 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:10 +0000 (09:45 -0700)
It allows a selectable timer interrupt frequency of 100, 250 and 1000 HZ.
Reducing the timer frequency may have important performance benefits on
large systems.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/Kconfig
include/asm-ia64/param.h

index 9f6a46caba9b362bd1d1a21b221aace69d86c0d7..01b78e7f992e81e41526ac8c384c86406b752c15 100644 (file)
@@ -161,6 +161,8 @@ config IA64_PAGE_SIZE_64KB
 
 endchoice
 
+source kernel/Kconfig.hz
+
 config IA64_BRL_EMU
        bool
        depends on ITANIUM
index 6c6b679b7a9e9d9cf08c418398e6a0f628c95b81..5e1e0d2d7baf3b7f8a1d3b95252bd9ed1dc20336 100644 (file)
@@ -27,7 +27,7 @@
    */
 #  define HZ     32
 # else
-#  define HZ   1024
+#  define HZ   CONFIG_HZ
 # endif
 # define USER_HZ       HZ
 # define CLOCKS_PER_SEC        HZ      /* frequency at which times() counts */