summaryrefslogtreecommitdiff
path: root/arch/alpha/alpha_tru64_process.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-12-23 13:32:31 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-12-23 13:32:31 -0500
commit0cdcb08d908bc20f614dd164f8e43287406e81a3 (patch)
treeba6da1e59f9ca5c67c9aa067f374c77129722a52 /arch/alpha/alpha_tru64_process.cc
parent627f540e3119e09747005e208daa8153b22d9967 (diff)
downloadgem5-0cdcb08d908bc20f614dd164f8e43287406e81a3.tar.xz
Change base/intmath.{cc,hh} to follow m5 style.
arch/alpha/alpha_tru64_process.cc: base/intmath.hh: base/statistics.cc: base/str.cc: cpu/o3/btb.cc: sim/process.cc: sim/syscall_emul.hh: Rename intmath.hh functions to follow m5 style (RoundUp -> roundUp, etc.). base/intmath.cc: Rename intmath.hh functions to follow m5 style (RoundUp -> roundUp, etc.). Also reindent code in m5 style. --HG-- extra : convert_revision : 57b853002bc3c9911e122599d9062b41a06d8e6a
Diffstat (limited to 'arch/alpha/alpha_tru64_process.cc')
-rw-r--r--arch/alpha/alpha_tru64_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/alpha_tru64_process.cc b/arch/alpha/alpha_tru64_process.cc
index ab8558182..b7a1c7d59 100644
--- a/arch/alpha/alpha_tru64_process.cc
+++ b/arch/alpha/alpha_tru64_process.cc
@@ -843,7 +843,7 @@ class Tru64 {
// Actual size includes padded string rounded up for alignment.
// Subtract 256 for dummy char array in Tru64::dirent definition.
// Add 1 to namelen for terminating null char.
- int tgt_bufsize = sizeof(Tru64::dirent) - 256 + RoundUp(namelen+1, 8);
+ int tgt_bufsize = sizeof(Tru64::dirent) - 256 + roundUp(namelen+1, 8);
TypedBufferArg<Tru64::dirent> tgt_dp(tgt_buf_ptr, tgt_bufsize);
tgt_dp->d_ino = host_dp->d_ino;
tgt_dp->d_reclen = tgt_bufsize;