diff options
author | Andi Kleen <[email protected]> | 2012-05-08 13:32:24 +0930 |
---|---|---|
committer | Al Viro <[email protected]> | 2012-05-29 23:28:41 -0400 |
commit | eea62f831b8030b0eeea8314eed73b6132d1de26 (patch) | |
tree | 7fd58cf63e62484b8d3a0c8c5d2e9193b85945a4 /net/lapb/lapb_out.c | |
parent | 9dd6fa03ab31bb57cee4623a689d058d222fbe68 (diff) |
brlocks/lglocks: turn into functions
lglocks and brlocks are currently generated with some complicated macros
in lglock.h. But there's no reason to not just use common utility
functions and put all the data into a common data structure.
Since there are at least two users it makes sense to share this code in a
library. This is also easier maintainable than a macro forest.
This will also make it later possible to dynamically allocate lglocks and
also use them in modules (this would both still need some additional, but
now straightforward, code)
[[email protected]: checkpatch fixes]
Signed-off-by: Andi Kleen <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Rusty Russell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions