Skip to content

Commit

Permalink
include/linux/genalloc.h: add multiple-inclusion guards
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice VILCHEZ <patrice.vilchez@atmel.com>
Cc: Jes Sorensen <jes@wildopensource.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD authored and Linus Torvalds committed May 25, 2011
1 parent 44ec7ab commit 6aae6e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/genalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
*/


#ifndef __GENALLOC_H__
#define __GENALLOC_H__
/*
* General purpose special memory pool descriptor.
*/
Expand All @@ -34,3 +36,4 @@ extern int gen_pool_add(struct gen_pool *, unsigned long, size_t, int);
extern void gen_pool_destroy(struct gen_pool *);
extern unsigned long gen_pool_alloc(struct gen_pool *, size_t);
extern void gen_pool_free(struct gen_pool *, unsigned long, size_t);
#endif /* __GENALLOC_H__ */

0 comments on commit 6aae6e0

Please sign in to comment.