summaryrefslogtreecommitdiff
path: root/lib/block_allocator.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-06 14:03:02 -0700
committerJosh Blum2013-06-06 14:03:02 -0700
commit8a44539fde046d0229c3dcf6654de01934714246 (patch)
tree96d0a1eee805ef761737ddd3fba19293a2062756 /lib/block_allocator.cpp
parent599adf7b0178c7736e8d40b16f0117cb942b88f6 (diff)
downloadsandhi-8a44539fde046d0229c3dcf6654de01934714246.tar.gz
sandhi-8a44539fde046d0229c3dcf6654de01934714246.tar.bz2
sandhi-8a44539fde046d0229c3dcf6654de01934714246.zip
gras: filled in code from top config changes
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r--lib/block_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp
index aa97405..3168bc2 100644
--- a/lib/block_allocator.cpp
+++ b/lib/block_allocator.cpp
@@ -74,7 +74,7 @@ void BlockActor::handle_top_alloc(const TopAllocMessage &, const Theron::Address
SBufferConfig config;
config.memory = NULL;
config.length = bytes;
- config.affinity = data->buffer_affinity;
+ config.affinity = data->global_config.buffer_affinity;
config.token = token;
BufferQueueSptr queue = data->block->output_buffer_allocator(i, config);