linux 2.6.23: dropped em-x270 copy of time.h.patch
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Wed, 21 Oct 2009 11:36:30 +0000 (13:36 +0200)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Mon, 14 Dec 2009 10:35:00 +0000 (11:35 +0100)
recipes/linux/linux-2.6.23/em-x270/01-prevent_loop_timespec_add_ns.patch [deleted file]
recipes/linux/linux_2.6.23.bb

diff --git a/recipes/linux/linux-2.6.23/em-x270/01-prevent_loop_timespec_add_ns.patch b/recipes/linux/linux-2.6.23/em-x270/01-prevent_loop_timespec_add_ns.patch
deleted file mode 100644 (file)
index a2f6e17..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
----
- include/linux/time.h |    4 ++++
- 1 files changed, 4 insertions(+), 0 deletions(-)
-diff --git a/include/linux/time.h b/include/linux/time.h
-index 2091a19..d32ef0a 100644
---- a/include/linux/time.h
-+++ b/include/linux/time.h
-@@ -173,6 +173,10 @@ static inline void timespec_add_ns(struct timespec *a, u64 ns)
- {
-       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++;
-       }
-
index 69cdb57..65f400d 100644 (file)
@@ -31,8 +31,7 @@ SRC_URI_avr32 = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2
                  http://avr32linux.org/twiki/pub/Main/LinuxPatches/linux-2.6.23.atmel.3.patch.bz2;patch=1 \
                 "
 SRC_URI_append_em-x270 = "\
-       file://em-x270.patch;patch=1 \
-       file://01-prevent_loop_timespec_add_ns.patch;patch=1"
+       file://em-x270.patch;patch=1 "
 
 SRC_URI_append_cm-x270 = "\
        file://0001-cm-x270-base2.patch;patch=1 \