wok-6.x diff memtest/stuff/memtest86+-5.01-io.patch @ rev 17530
Up xfe,xfe-extras,xfi (1.40)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Jan 19 15:56:59 2015 -0500 (2015-01-19) |
parents | |
children | d44f69067aca |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/memtest/stuff/memtest86+-5.01-io.patch Mon Jan 19 15:56:59 2015 -0500 1.3 @@ -0,0 +1,20 @@ 1.4 +--- memtest86+-5.01/io.h~ 2013-08-10 02:01:58.000000000 +0000 1.5 ++++ memtest86+-5.01/io.h 2014-01-08 01:29:12.404465515 +0000 1.6 +@@ -31,7 +31,7 @@ 1.7 + */ 1.8 + 1.9 + #define __OUT1(s,x) \ 1.10 +-extern inline void __out##s(unsigned x value, unsigned short port) { 1.11 ++static inline void __out##s(unsigned x value, unsigned short port) { 1.12 + 1.13 + #define __OUT2(s,s1,s2) \ 1.14 + __asm__ __volatile__ ("out" #s " %" s1 "0,%" s2 "1" 1.15 +@@ -43,7 +43,7 @@ 1.16 + __OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; } 1.17 + 1.18 + #define __IN1(s) \ 1.19 +-extern inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v; 1.20 ++static inline RETURN_TYPE __in##s(unsigned short port) { RETURN_TYPE _v; 1.21 + 1.22 + #define __IN2(s,s1,s2) \ 1.23 + __asm__ __volatile__ ("in" #s " %" s2 "1,%" s1 "0"