* [Xenomai-core] [PATCH] comedi: Fix include for do_div
@ 2008-07-04 17:57 Jan Kiszka
2008-07-07 21:12 ` Alexis Berlemont
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2008-07-04 17:57 UTC (permalink / raw)
To: Alexis Berlemont; +Cc: Xenomai-core
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
Required with 2.6.26 where there is no more calc64. And asm/div64.h is
what you actually want.
Jan
PS: Kernel-style reformatting would be nice - one day... :->
Index: ksrc/drivers/comedi/instruction.c
===================================================================
--- ksrc/drivers/comedi/instruction.c (Revision 4017)
+++ ksrc/drivers/comedi/instruction.c (Arbeitskopie)
@@ -25,7 +25,7 @@
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/mman.h>
-#include <linux/calc64.h>
+#include <asm/div64.h>
#include <asm/io.h>
#include <asm/errno.h>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] comedi: Fix include for do_div
2008-07-04 17:57 [Xenomai-core] [PATCH] comedi: Fix include for do_div Jan Kiszka
@ 2008-07-07 21:12 ` Alexis Berlemont
2008-07-08 7:45 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: Alexis Berlemont @ 2008-07-07 21:12 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Xenomai-core
Hi,
Sorry for answering so lately, I was not at home the last four days.
> Required with 2.6.26 where there is no more calc64. And asm/div64.h is
> what you actually want.
Thanks.
> PS: Kernel-style reformatting would be nice - one day... :->
Today or tomorrow, that sould be done.
Alexis.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] comedi: Fix include for do_div
2008-07-07 21:12 ` Alexis Berlemont
@ 2008-07-08 7:45 ` Jan Kiszka
2008-07-08 10:35 ` berlemont.hauw
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2008-07-08 7:45 UTC (permalink / raw)
To: Alexis Berlemont; +Cc: Xenomai-core
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
Alexis Berlemont wrote:
> Hi,
>
> Sorry for answering so lately, I was not at home the last four days.
>
>> Required with 2.6.26 where there is no more calc64. And asm/div64.h is
>> what you actually want.
>
> Thanks.
Sorry, but the committed fix is bogus for 2.6.26. I would suggest just
to pick up what I proposed, kernel headers do the same since ages
(including 2.4).
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] comedi: Fix include for do_div
2008-07-08 7:45 ` Jan Kiszka
@ 2008-07-08 10:35 ` berlemont.hauw
2008-07-08 10:49 ` Jan Kiszka
0 siblings, 1 reply; 5+ messages in thread
From: berlemont.hauw @ 2008-07-08 10:35 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Xenomai-core
Hi,
> Sorry, but the committed fix is bogus for 2.6.26. I would suggest just
> to pick up what I proposed, kernel headers do the same since ages
> (including 2.4).
Argh... I am an [CENSORED].
I missed everything, I was in another dimension. I had a too quick look at your
fix (I saw linux/div64 instead of asm/div64) so I decided to put a temporary fix
(as I was running out of time to get some 2.6.26-rcx sources).
I will fix that tonight.
Sorry I will be more careful (next time, I directly apply your patch).
Alexis.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai-core] [PATCH] comedi: Fix include for do_div
2008-07-08 10:35 ` berlemont.hauw
@ 2008-07-08 10:49 ` Jan Kiszka
0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2008-07-08 10:49 UTC (permalink / raw)
To: berlemont.hauw; +Cc: Xenomai-core
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
berlemont.hauw@domain.hid wrote:
> Hi,
>
>> Sorry, but the committed fix is bogus for 2.6.26. I would suggest just
>> to pick up what I proposed, kernel headers do the same since ages
>> (including 2.4).
>
> Argh... I am an [CENSORED].
>
> I missed everything, I was in another dimension. I had a too quick look at your
> fix (I saw linux/div64 instead of asm/div64) so I decided to put a temporary fix
> (as I was running out of time to get some 2.6.26-rcx sources).
>
> I will fix that tonight.
>
> Sorry I will be more careful (next time, I directly apply your patch).
(Please don't - I may post patches from other dimensions as well.) :)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-08 10:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 17:57 [Xenomai-core] [PATCH] comedi: Fix include for do_div Jan Kiszka
2008-07-07 21:12 ` Alexis Berlemont
2008-07-08 7:45 ` Jan Kiszka
2008-07-08 10:35 ` berlemont.hauw
2008-07-08 10:49 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.