diff options
Diffstat (limited to 'include/linux/pagevec.h')
| -rw-r--r-- | include/linux/pagevec.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/include/linux/pagevec.h b/include/linux/pagevec.h index def32c5715be..8eb7fa76c1d0 100644 --- a/include/linux/pagevec.h +++ b/include/linux/pagevec.h | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | * pages. A pagevec is a multipage container which is used for that. | 5 | * pages. A pagevec is a multipage container which is used for that. | 
| 6 | */ | 6 | */ | 
| 7 | 7 | ||
| 8 | #ifndef _LINUX_PAGEVEC_H | ||
| 9 | #define _LINUX_PAGEVEC_H | ||
| 10 | |||
| 8 | /* 14 pointers + two long's align the pagevec structure to a power of two */ | 11 | /* 14 pointers + two long's align the pagevec structure to a power of two */ | 
| 9 | #define PAGEVEC_SIZE 14 | 12 | #define PAGEVEC_SIZE 14 | 
| 10 | 13 | ||
| @@ -83,3 +86,5 @@ static inline void pagevec_lru_add(struct pagevec *pvec) | |||
| 83 | if (pagevec_count(pvec)) | 86 | if (pagevec_count(pvec)) | 
| 84 | __pagevec_lru_add(pvec); | 87 | __pagevec_lru_add(pvec); | 
| 85 | } | 88 | } | 
| 89 | |||
| 90 | #endif /* _LINUX_PAGEVEC_H */ | ||
