diff options
author | Michael Brown | 2009-08-10 02:09:41 +0200 |
---|---|---|
committer | Michael Brown | 2009-08-10 20:27:24 +0200 |
commit | 04878ef74512df49803d1119c72c49cd8f1bfe10 (patch) | |
tree | add5a2af82095b9f731c90652e1f6d2b72a629f3 /src/net/infiniband.c | |
parent | [infiniband] Handle duplicate Communication Management REPs (diff) | |
download | ipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.tar.gz ipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.tar.xz ipxe-04878ef74512df49803d1119c72c49cd8f1bfe10.zip |
[process] Make it safe to call process_add() multiple times
Diffstat (limited to 'src/net/infiniband.c')
-rw-r--r-- | src/net/infiniband.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/infiniband.c b/src/net/infiniband.c index 2d8b63ec..539c5290 100644 --- a/src/net/infiniband.c +++ b/src/net/infiniband.c @@ -802,6 +802,7 @@ static void ib_step ( struct process *process __unused ) { /** Infiniband event queue process */ struct process ib_process __permanent_process = { + .list = LIST_HEAD_INIT ( ib_process.list ), .step = ib_step, }; |