mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
Add r782 into 1.0.1.x branch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/1.0.1.x@886 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2630,6 +2630,14 @@ isp_fclink_test(ispsoftc_t *isp, int chan, int usdelay)
|
||||
ISP_SLEEP(isp, wrk);
|
||||
} else {
|
||||
while (enano > (uint64_t) 4000000000U) {
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||
/*
|
||||
* Prevent to optimize loop, gcc assume libgcc.a
|
||||
* with __udivdi3 is linked, but this is not
|
||||
* true when building (linux) kernel
|
||||
*/
|
||||
asm("" : "+rm" (enano));
|
||||
#endif
|
||||
count += 4000000;
|
||||
enano -= (uint64_t) 4000000000U;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user