diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-06-11 17:34:54 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-06-11 17:34:54 (GMT) |
commit | d8e53b6b71434285de8dc5e33da1f232fcaefc23 (patch) | |
tree | 7c0612151bc0d8caf5e0dcf9a7b627cf1820c4cf /abs/extra/oss/gcc-5.patch | |
parent | 5818e0511f78c746c8486cf78dc14dff9e07e916 (diff) | |
download | linhes_pkgbuild-d8e53b6b71434285de8dc5e33da1f232fcaefc23.zip linhes_pkgbuild-d8e53b6b71434285de8dc5e33da1f232fcaefc23.tar.gz linhes_pkgbuild-d8e53b6b71434285de8dc5e33da1f232fcaefc23.tar.bz2 |
oss: update to 4.2_2011
Diffstat (limited to 'abs/extra/oss/gcc-5.patch')
-rw-r--r-- | abs/extra/oss/gcc-5.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/abs/extra/oss/gcc-5.patch b/abs/extra/oss/gcc-5.patch new file mode 100644 index 0000000..5b303b4 --- /dev/null +++ b/abs/extra/oss/gcc-5.patch @@ -0,0 +1,52 @@ +--- kernel/OS/Linux/os_linux.h 2015-01-28 08:07:23.000000000 +0000 ++++ kernel/OS/Linux/os_linux.h 2015-06-01 23:12:46.044784820 +0100 +@@ -119,7 +119,7 @@ + /* System wall timer access */ + #define GET_JIFFIES() oss_get_jiffies() + +-extern inline unsigned int ++__attribute__ ((gnu_inline)) extern inline unsigned int + __inb (unsigned short port) + { + unsigned int _v; +@@ -127,7 +127,7 @@ + "0" (0)); + return _v; + } +-extern inline unsigned int ++__attribute__ ((gnu_inline)) extern inline unsigned int + __inw (unsigned short port) + { + unsigned int _v; +@@ -135,7 +135,7 @@ + "0" (0)); + return _v; + } +-extern inline unsigned int ++__attribute__ ((gnu_inline)) extern inline unsigned int + __inl (unsigned short port) + { + unsigned int _v; +@@ -143,19 +143,19 @@ + return _v; + } + +-extern inline void ++__attribute__ ((gnu_inline)) extern inline unsigned int + __outb (unsigned char value, unsigned short port) + { + __asm__ __volatile__ ("out" "b" " %" "b" "0,%" "w" "1"::"a" (value), + "d" (port)); + } +-extern inline void ++__attribute__ ((gnu_inline)) extern inline unsigned int + __outw (unsigned short value, unsigned short port) + { + __asm__ __volatile__ ("out" "w" " %" "w" "0,%" "w" "1"::"a" (value), + "d" (port)); + } +-extern inline void ++__attribute__ ((gnu_inline)) extern inline unsigned int + __outl (unsigned int value, unsigned short port) + { + __asm__ __volatile__ ("out" "l" " %" "0,%" "w" "1"::"a" (value), |