diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2010-05-10 11:59:37 +0200 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-05-10 14:20:42 +0200 | 
| commit | dbb6be6d5e974c42bbecd183effaa0df69e1dd8b (patch) | |
| tree | 5735cb47e70853d057a9881dd0ce44b83e88fa63 /include/linux/kfifo.h | |
| parent | 6a867a395558a7f882d041783e4cdea6744ca2bf (diff) | |
| parent | b57f95a38233a2e73b679bea4a5453a1cc2a1cc9 (diff) | |
| download | olio-linux-3.10-dbb6be6d5e974c42bbecd183effaa0df69e1dd8b.tar.xz olio-linux-3.10-dbb6be6d5e974c42bbecd183effaa0df69e1dd8b.zip  | |
Merge branch 'linus' into timers/core
Reason: Further posix_cpu_timer patches depend on mainline changes
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/kfifo.h')
| -rw-r--r-- | include/linux/kfifo.h | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h index bc0fc795bd3..e117b1aee69 100644 --- a/include/linux/kfifo.h +++ b/include/linux/kfifo.h @@ -86,7 +86,8 @@ union { \   */  #define INIT_KFIFO(name) \  	name = __kfifo_initializer(sizeof(name##kfifo_buffer) - \ -				sizeof(struct kfifo), name##kfifo_buffer) +				sizeof(struct kfifo), \ +				name##kfifo_buffer + sizeof(struct kfifo))  /**   * DEFINE_KFIFO - macro to define and initialize a kfifo @@ -102,8 +103,6 @@ union { \  	unsigned char name##kfifo_buffer[size]; \  	struct kfifo name = __kfifo_initializer(size, name##kfifo_buffer) -#undef __kfifo_initializer -  extern void kfifo_init(struct kfifo *fifo, void *buffer,  			unsigned int size);  extern __must_check int kfifo_alloc(struct kfifo *fifo, unsigned int size,  |