diff options
| author | Adrian Bunk <bunk@fs.tum.de> | 2004-07-13 19:26:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-13 19:26:31 -0700 |
| commit | fa4d4c06eedd8dee3fc82ec755fadb80bcf8a28e (patch) | |
| tree | 4c6157e0c0d6dfc7c25672a919f0f6d24bf5f190 /include/linux/percpu_counter.h | |
| parent | e9fb2fcd2b409ac149961c0ea99a43d57aa71f67 (diff) | |
[PATCH] #ifndef guard percpu_counter.h and blockgroup_lock.h
Insert header guards to allow possible multiple inclusion for
include/linux/percpu_counter.h and include/linux/blockgroup_lock.h
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/percpu_counter.h')
| -rw-r--r-- | include/linux/percpu_counter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/percpu_counter.h b/include/linux/percpu_counter.h index 594f564e031a..bd6708e2c027 100644 --- a/include/linux/percpu_counter.h +++ b/include/linux/percpu_counter.h @@ -1,3 +1,5 @@ +#ifndef _LINUX_PERCPU_COUNTER_H +#define _LINUX_PERCPU_COUNTER_H /* * A simple "approximate counter" for use in ext2 and ext3 superblocks. * @@ -101,3 +103,5 @@ static inline void percpu_counter_dec(struct percpu_counter *fbc) { percpu_counter_mod(fbc, -1); } + +#endif /* _LINUX_PERCPU_COUNTER_H */ |
