diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-16 07:05:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:51 +0200 |
commit | c9f66169f1c696f9489503d7de92daff135c1efd (patch) | |
tree | b96efd22193122874196c4809b94069f8e46cb34 /ipc/sem.c | |
parent | resources: tidy __request_region() (diff) | |
download | linux-c9f66169f1c696f9489503d7de92daff135c1efd.tar.xz linux-c9f66169f1c696f9489503d7de92daff135c1efd.zip |
resource: add resource_type() and IORESOURCE_TYPE_BITS
Add resource_type() and IORESOURCE_TYPE_BITS. They make it easier to add
more resource types without having to rewrite tons of code.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions