diff options
| author | Samuel Thibault <sthibault@debian.org> | 2008-07-02 12:48:21 +0000 |
|---|---|---|
| committer | Samuel Thibault <sthibault@debian.org> | 2008-07-02 12:48:21 +0000 |
| commit | e7fafd9dfb5fe2365ff9bf425d6de0d89e96edc7 (patch) | |
| tree | c63e9db7015428cfbbd1c5f21f8b3549b55409a9 /debian | |
| parent | 6559109c4f0eb2deabc04f63b39d3611f8df1fcb (diff) | |
* New patch from CVS to fix gcc-4.3 non-inlining.
(Closes: #474902)
- debian/patches/60_bad_user_access_length_fix.patch
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 3 | ||||
| -rw-r--r-- | debian/patches/60_bad_user_access_length_fix.patch | 20 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index f10b51f..252a1e2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,9 @@ gnumach (2:1.3.99.dfsg.cvs20070809-2) UNRELEASED; urgency=low - debian/patches/30_net_multicast.patch * New patch from CVS to enable Bus Mastering on triton chipsets. - debian/patches/50_ide_bm.patch + * New patch from CVS to fix gcc-4.3 non-inlining. + (Closes: #474902) + - debian/patches/60_bad_user_access_length_fix.patch * New patch from CVS to fix direction flag on syscall entry. (Closes: #469566) - debian/patches/70_cld.patch diff --git a/debian/patches/60_bad_user_access_length_fix.patch b/debian/patches/60_bad_user_access_length_fix.patch new file mode 100644 index 0000000..7445018 --- /dev/null +++ b/debian/patches/60_bad_user_access_length_fix.patch @@ -0,0 +1,20 @@ +--- a/linux/dev/include/asm-i386/segment.h 14 Jan 2004 22:28:30 -0000 1.2.2.1 ++++ b/linux/dev/include/asm-i386/segment.h 2 Jul 2008 11:27:19 -0000 +@@ -44,7 +44,7 @@ struct __segment_dummy { unsigned long a + #define __sd(x) ((struct __segment_dummy *) (x)) + #define __const_sd(x) ((const struct __segment_dummy *) (x)) + +-static inline void __put_user(unsigned long x, void * y, int size) ++static inline void __attribute__((always_inline)) __put_user(unsigned long x, void * y, int size) + { + switch (size) { + case 1: +@@ -67,7 +67,7 @@ static inline void __put_user(unsigned l + } + } + +-static inline unsigned long __get_user(const void * y, int size) ++static inline unsigned long __attribute__((always_inline)) __get_user(const void * y, int size) + { + unsigned long result; + diff --git a/debian/patches/series b/debian/patches/series index 9e4019e..f47c408 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,5 +12,6 @@ 30_net_multicast.patch 40_iopl_mmap.patch 50_ide_bm.patch +60_bad_user_access_length_fix.patch 70_cld.patch 90_autoconf_autogen.patch |
