Well, so that the patch below should be ok. At least it works for IA32.
I'll make it part of htb tarball for now to make users happy ..
devik
--- ../linux-2.4orig/include/net/pkt_sched.h Sun Dec 9 21:15:25 2001
+++ include/net/pkt_sched.h Thu May 16 16:45:00 2002
@@ -221,7 +221,7 @@
#define PSCHED_EXPORTLIST_2
-#if ~0UL == 0xFFFFFFFF
+#if BITS_PER_LONG <= 32
#define PSCHED_WATCHER unsigned long
On Thu, 16 May 2002, Thomas 'Dent' Mirlacher wrote:
> --snip/snip
> > Probably the test should be changed. I'm not sure how. How to detect
> > that long is 64 bit in cpp ?
>
> by using BITS_PER_LONG (which is defined in include/asm/types.h)
>
> tm
>
> --
> in some way i do, and in some way i don't.
>
>
>
|