ipc: introduce the ipcid_to_idx macro
authorNadia Derbey <Nadia.Derbey@bull.net>
Fri, 19 Oct 2007 06:40:52 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:46 +0000 (11:53 -0700)
commitce621f5ba52f30dd59aef4fb50276faee04ef9cf
treee0260364cf8748849d37165760db6d4e4e51ed9c
parent03f02c7657f7948ab980280c54c9366f962b1474
ipc: introduce the ipcid_to_idx macro

This is a trivial patch that changes all the (id % SEQ_MULTIPLIER) into a call
to the ipcid_to_idx(id) macro.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/util.c
ipc/util.h