From 47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 26 May 2009 09:23:13 -0700 Subject: types: add a type for thread IDs and try to use it everywhere --- src/cpu/smt.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/smt.hh') diff --git a/src/cpu/smt.hh b/src/cpu/smt.hh index cac1a8fd5..d90a1833a 100644 --- a/src/cpu/smt.hh +++ b/src/cpu/smt.hh @@ -52,10 +52,10 @@ extern int maxThreadsPerCPU; /** * Changes the status and priority of the thread with the given number. - * @param thread_number The thread to change. + * @param tid The thread to change. * @param activate The new active status. * @param priority The new priority. */ -void change_thread_state(int thread_number, int activate, int priority); +void change_thread_state(ThreadID tid, int activate, int priority); #endif // __SMT_HH__ -- cgit v1.2.3