]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.suse/headers_check-fix-linux-dlm_plock.h.patch
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / headers_check-fix-linux-dlm_plock.h.patch
1 From: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
2 commit 37eb1f4c3320ed505fbe59a916635b2342c740e4
3 Author: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
4 Date: Fri Jan 30 20:51:30 2009 +0530
5 Subject: headers_check fix: linux/dlm_plock.h
6
7 fix the following 'make headers_check' warning:
8
9 usr/include/linux/dlm_plock.h:25: found __[us]{8,16,32,64} type without #include <linux/types.h>
10
11 Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
12 Signed-off-by: Coly Li <coly.li@suse.de>
13
14 diff --git a/include/linux/dlm_plock.h b/include/linux/dlm_plock.h
15 index 18d5fdb..2dd2124 100644
16 --- a/include/linux/dlm_plock.h
17 +++ b/include/linux/dlm_plock.h
18 @@ -9,6 +9,8 @@
19 #ifndef __DLM_PLOCK_DOT_H__
20 #define __DLM_PLOCK_DOT_H__
21
22 +#include <linux/types.h>
23 +
24 #define DLM_PLOCK_MISC_NAME "dlm_plock"
25
26 #define DLM_PLOCK_VERSION_MAJOR 1