aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.23
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-10-21 13:36:30 +0200
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-12-14 11:35:00 +0100
commitf903d68ea42ed7d95f0d5a60db80c3d0489250e5 (patch)
tree5d3c2641c7378de8dc8df627e9647da955697418 /recipes/linux/linux-2.6.23
parent984dfde8a7189f3e5fa00799b7392b8328edfa58 (diff)
downloadopenembedded-f903d68ea42ed7d95f0d5a60db80c3d0489250e5.tar.gz
linux 2.6.23: dropped em-x270 copy of time.h.patch
Diffstat (limited to 'recipes/linux/linux-2.6.23')
-rw-r--r--recipes/linux/linux-2.6.23/em-x270/01-prevent_loop_timespec_add_ns.patch19
1 files changed, 0 insertions, 19 deletions
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
index a2f6e1765e..0000000000
--- a/recipes/linux/linux-2.6.23/em-x270/01-prevent_loop_timespec_add_ns.patch
+++ /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++;
- }
-