git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] Move pidmap to pspace.h
[safe/jmp/linux-2.6]
/
include
/
linux
/
pspace.h
1
#ifndef _LINUX_PSPACE_H
2
#define _LINUX_PSPACE_H
3
4
#include <linux/sched.h>
5
#include <linux/mm.h>
6
#include <linux/threads.h>
7
#include <linux/pid.h>
8
9
struct pidmap {
10
atomic_t nr_free;
11
void *page;
12
};
13
14
#define PIDMAP_ENTRIES ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8)
15
16
#endif /* _LINUX_PSPACE_H */