A few more bug fixes, the DAPM clock fix is actually a driver specific one since currently there's only one user of the clock support due to the problems relying on the clock API. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJRg3/MAAoJELSic+t+oim9W+cP/3NERwICTNvllNOrZXii7akJ DnzzIaw0fEJ2+hIXJzU/lEI/KjqIT7SADQRWg+eid8ZrjaUB6LXUPPuv67V4TseD 1+8ClQp1cDg1KepBcD2S1liVjPKvW64IpXwZNgLGigW6PP21yK8+DoQvVKPVB+sP q72jntTzy9qWenmjygpPEYDeOfe5EM7hAaa2tFuYIPEL+EkMOXXvjx8ojylwQV6V 5xFQ+CBSS8WHz7CKlawF3JH8TkcFGZNT9Hibhv1fpGM+iJDCsh/+MNiBwOpO+1wk eCJSiCWWTGgVK+3AvlSIQr8ml0EDEbS8Aq6bbJb9w4wgV65oFt2hOxOpkcK/8NcP qnKNYc3nRQsb3H+dObMdQNPWDjOfwsolKUOjetxosRIq4Pzm8afY96gu06EqTnw9 XYXqoSAVpCuPDpmlu87Lajoj4T5XNq3G7ONAMpsAfMrl/xxmV11Wrs4/7S0o3Csb tNhO5XjLbFNTw9nVT6qZQViH7Bm1ItDM2B/tLb1yqnlgBAjNW/WlUyFg4bE4Qeyr hUg7DwvYPSVnr25t8RmPMmB2MdD4N+PfRy+aIEIuE9KMeYUTPVr5kFdDP7uA7Yw2 Dn7lmAdDEq33zfTGYhGWs87IdxhD3VyEWveR6alrtBW0LS7ArtsPlWKhA074XuJj AmAU6RS3+75nymA9ucY+ =WQzu -----END PGP SIGNATURE----- Merge tag 'asoc-v3.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next ASoC: Updates for v3.10 A few more bug fixes, the DAPM clock fix is actually a driver specific one since currently there's only one user of the clock support due to the problems relying on the clock API.tirimbino
commit
f91eeeb595
@ -0,0 +1,25 @@ |
||||
#include <linux/module.h> |
||||
|
||||
union ull_union { |
||||
unsigned long long ull; |
||||
struct { |
||||
unsigned int high; |
||||
unsigned int low; |
||||
} ui; |
||||
}; |
||||
|
||||
int __ucmpdi2(unsigned long long a, unsigned long long b) |
||||
{ |
||||
union ull_union au = {.ull = a}; |
||||
union ull_union bu = {.ull = b}; |
||||
|
||||
if (au.ui.high < bu.ui.high) |
||||
return 0; |
||||
else if (au.ui.high > bu.ui.high) |
||||
return 2; |
||||
if (au.ui.low < bu.ui.low) |
||||
return 0; |
||||
else if (au.ui.low > bu.ui.low) |
||||
return 2; |
||||
return 1; |
||||
} |
Loading…
Reference in new issue