sim: fix build breakage in process.cc after brandon@11801
authorBjoern A. Zeeb <baz21@cam.ac.uk>
Fri, 10 Feb 2017 00:03:58 +0000 (19:03 -0500)
committerBjoern A. Zeeb <baz21@cam.ac.uk>
Fri, 10 Feb 2017 00:03:58 +0000 (19:03 -0500)
commit0852f0cfc61a543d1aa1add3bc51063be3c2a39d
tree3909621b6d95f7fdbb03cb74b800b6832687505b
parentb673f2aaa4f5d9173a04777bad958c61c3480486
sim: fix build breakage in process.cc after brandon@11801

Seeing build breakage after brandon@11801:

 [     CXX] X86/sim/process.cc -> .o build/X86/sim/process.cc:137:64:
error: field '_pid' is uninitialized when used here
[-Werror,-Wuninitialized] static_cast<PageTableBase *>(new
ArchPageTable(name(), _pid, system)) : ^ build/X86/sim/process.cc:138:64:
error: field '_pid' is uninitialized when used here
[-Werror,-Wuninitialized] static_cast<PageTableBase *>(new
FuncPageTable(name(), _pid))), ^ 2 errors generated.

Testing Done: Compiles now on FreeBSD 10 with clang.

Reviewed at http://reviews.gem5.org/r/3804/

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
src/sim/process.cc