config: fixed numa high bit setting bug

This commit is contained in:
Brad Beckmann 2010-08-30 15:26:51 -07:00
parent 08b360e0e0
commit 8f1f83d13d

View file

@ -108,7 +108,6 @@ def create_system(options, system, piobus = None, dma_devices = []):
numa_bit = options.numa_high_bit numa_bit = options.numa_high_bit
else: else:
# if not specified, use the lowest bits above the block offest # if not specified, use the lowest bits above the block offest
if options.numa_high_bit == 0:
if dir_bits > 0: if dir_bits > 0:
# add 5 because bits 0-5 are the block offset # add 5 because bits 0-5 are the block offset
numa_bit = dir_bits + 5 numa_bit = dir_bits + 5