From 73575ed195bc237fc594ea4aecb1c74d19ff71bc Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 21 Oct 2009 12:31:41 +0200 Subject: linux 2.6.24: drop time.h.patch - it is in 2.6.24.7 update --- recipes/linux/linux-2.6.24/time.h.patch | 25 ------------------------- recipes/linux/linux_2.6.24.bb | 1 - 2 files changed, 26 deletions(-) delete mode 100644 recipes/linux/linux-2.6.24/time.h.patch diff --git a/recipes/linux/linux-2.6.24/time.h.patch b/recipes/linux/linux-2.6.24/time.h.patch deleted file mode 100644 index fd22f3a01d..0000000000 --- a/recipes/linux/linux-2.6.24/time.h.patch +++ /dev/null @@ -1,25 +0,0 @@ -....since some architectures don't support __udivdi3() (and - we don't want to use that, anyway). - - Signed-off-by: Segher Boessenkool - --- - include/linux/time.h | 4 ++++ - 1 files changed, 4 insertions(+), 0 deletions(-) - - -Index: linux-2.6.24/include/linux/time.h -=================================================================== ---- linux-2.6.24.orig/include/linux/time.h 2008-06-23 11:17:09.021841180 +0200 -+++ linux-2.6.24/include/linux/time.h 2008-06-23 11:18:34.445167140 +0200 -@@ -173,6 +173,11 @@ - { - 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++; - } diff --git a/recipes/linux/linux_2.6.24.bb b/recipes/linux/linux_2.6.24.bb index 7d0cb68189..c4549795d6 100644 --- a/recipes/linux/linux_2.6.24.bb +++ b/recipes/linux/linux_2.6.24.bb @@ -19,7 +19,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.7.bz2;patch=1 \ file://squashfs-lzma-2.6.24.patch;patch=1 \ file://ubifs-v2.6.24.patch;patch=1 \ - file://time.h.patch;patch=1 \ file://defconfig" # Moved away temporarely until committed properly (work in progress). -- cgit v1.2.3