From 2fb15062dacb8f69694e9d9377638c6dcdd4e8d5 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sat, 26 Mar 2011 00:18:49 -0700 Subject: [PATCH] use only a int to specify the frequency in MHZ --- arch/x86/include/asm/RCCE_lib.h | 2 +- arch/x86/scc/RCCE_admin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/RCCE_lib.h b/arch/x86/include/asm/RCCE_lib.h index 3065a01b..3ca89d1f 100644 --- a/arch/x86/include/asm/RCCE_lib.h +++ b/arch/x86/include/asm/RCCE_lib.h @@ -102,7 +102,7 @@ extern int RCCE_BUFF_SIZE; #endif extern int RC_MY_COREID; extern int RC_COREID[RCCE_MAXNP]; -extern long long RC_REFCLOCKMHZ; +extern int RC_REFCLOCKMHZ; extern int RCCE_IAM; extern int RCCE_debug_synch; extern int RCCE_debug_comm; diff --git a/arch/x86/scc/RCCE_admin.c b/arch/x86/scc/RCCE_admin.c index 17d620ef..09a44994 100644 --- a/arch/x86/scc/RCCE_admin.c +++ b/arch/x86/scc/RCCE_admin.c @@ -51,7 +51,7 @@ // GLOBAL VARIABLES USED BY THE LIBRARY //...................................................................................... int RCCE_NP; // number of participating cores -long long RC_REFCLOCKMHZ; // baseline CPU frequency (MHz) +int RC_REFCLOCKMHZ; // baseline CPU frequency (MHz) int RC_MY_COREID; // physical ID of calling core int RC_COREID[RCCE_MAXNP]; // array of physical core IDs for all participating // cores, sorted by rank