Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers/2.6.28: 00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch
Date: Mon, 29 Dec 2008 09:34:42
Message-Id: E1LHEWF-00010K-42@stork.gentoo.org
1 vapier 08/12/29 09:34:39
2
3 Added:
4 00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch
5 Log:
6 pull in linux/types.h in linux/serial.h #252721
7
8 Revision Changes Path
9 1.1 src/patchsets/gentoo-headers/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gentoo-headers/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gentoo-headers/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch?rev=1.1&content-type=text/plain
13
14 Index: 00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch
15 ===================================================================
16 From d74d27ff7e4b014e1f8d43717703c9bace66aa74 Mon Sep 17 00:00:00 2001
17 From: Mike Frysinger <vapier@g.o>
18 Date: Mon, 29 Dec 2008 04:27:02 -0500
19 Subject: [PATCH] linux/serial.h: pull in linux/types.h for userspace
20
21 Since the struct serial_rs485 is exported to userspace and uses __u##,
22 types we need to include linux/types.h for it.
23
24 Signed-off-by: Mike Frysinger <vapier@g.o>
25 ---
26 include/linux/serial.h | 2 +-
27 1 files changed, 1 insertions(+), 1 deletions(-)
28
29 diff --git a/include/linux/serial.h b/include/linux/serial.h
30 index 1ea8d92..fa72b39 100644
31 --- a/include/linux/serial.h
32 +++ b/include/linux/serial.h
33 @@ -10,8 +10,8 @@
34 #ifndef _LINUX_SERIAL_H
35 #define _LINUX_SERIAL_H
36
37 -#ifdef __KERNEL__
38 #include <linux/types.h>
39 +#ifdef __KERNEL__
40 #include <asm/page.h>
41
42 /*
43 --
44 1.6.0.6