diff options
| author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-11 08:40:20 +0000 |
|---|---|---|
| committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-02-11 08:40:20 +0000 |
| commit | 6f4062c05197835c5be7d0d76f51e0e48edd68f1 (patch) | |
| tree | d6a90a37e4bbeaf946ca4b4f9d8ef1ec5e977b49 /target/linux/generic-2.6/patches-2.6.21/32-time_fix_timespec_add_ns.patch | |
| parent | cdce93c921d5ba95387133b6609111ed660f5b5c (diff) | |
remove 2.6.21 patches and config, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19579 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.21/32-time_fix_timespec_add_ns.patch')
| -rw-r--r-- | target/linux/generic-2.6/patches-2.6.21/32-time_fix_timespec_add_ns.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.21/32-time_fix_timespec_add_ns.patch b/target/linux/generic-2.6/patches-2.6.21/32-time_fix_timespec_add_ns.patch deleted file mode 100644 index 378ee28ed..000000000 --- a/target/linux/generic-2.6/patches-2.6.21/32-time_fix_timespec_add_ns.patch +++ /dev/null @@ -1,17 +0,0 @@ -time: prevent the loop in timespec_add_ns() from being optimised away - -Since some architectures don't support __udivdi3(). - ---- a/include/linux/time.h -+++ b/include/linux/time.h -@@ -170,6 +170,10 @@ static inline void timespec_add_ns(struc - { - ns += a->tv_nsec; - while(unlikely(ns >= NSEC_PER_SEC)) { -+ /* The following asm() prevents the compiler from -+ * optimising this loop into a modulo operation. */ -+ asm("" : "+r"(ns)); -+ - ns -= NSEC_PER_SEC; - a->tv_sec++; - } |
