summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98ace6b)
raw | patch | inline | side by side (parent: 98ace6b)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 1 May 2009 14:34:30 +0000 (16:34 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 1 May 2009 14:34:30 +0000 (16:34 +0200) |
src/irq.c | patch | blob | history |
diff --git a/src/irq.c b/src/irq.c
index 38304fca58f84ef7cf98abe13675fa8abbb754c8..a7efd36fb8b5d3cb46b3b3ff497b349f8a0afe90 100644 (file)
--- a/src/irq.c
+++ b/src/irq.c
irq_value += value;
} /* for (i) */
- irq_submit (irq, irq_value);
+ /* Force 32bit wrap-around */
+ irq_submit (irq, irq_value % 4294967296ULL);
}
+
fclose (fh);
return (0);