Messages in this thread | | | Date | Tue, 05 Oct 1999 15:44:14 -0700 | From | "H. Peter Anvin" <> | Subject | Re: USB device allocation |
| |
Jeff Garzik wrote: > > "H. Peter Anvin" wrote: > > Actually, the need is for a decent-sized dev_t. > > We're still pre-code-freeze... it would be great to change this before > 2.4.0. > > What is a suitable replacement? Comments in asm-i386/posix_types.h, > where __kernel_dev_t is defined, indicate that GCC cannot be assumed. > Given that, I guess you can't use 'long long' to promote dev_t to > 64-bits. >
Actually, that's not true -- glibc already uses a 64-bit dev_t, so that's the logical size. Inside the kernel, the easiest is to make kdev_t a pair of 32-bit integers.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |