It looks like we need something like:
unsigned short procs;
unsigned short unused;
unsigned long totalbig;
unsigned long freebig;
char _f[22-2*sizeof(long)-sizeof(short)];
This explicitly includes the alignment in the structure, which IMHO is
a good thing. Yes, I know _f[] looks ugly. Oh, well. (I assume
unsigned short is usually 32 bits on a 64-bit platform, so the
alignment will be fixed here... otherwise, damned if I know how to
portably fix the problem.)
Chris
-- ============================================================================= | Chris Lawrence | Get your Debian 2.1 CD-ROMs | | <quango@watervalley.net> | http://www.lordsutch.com/ | | | | | Amiga A4000 604e/233Mhz | This address has been spam-proofed. | | with Linux/APUS 2.2.8 | All spam goes to your postmaster. | =============================================================================- 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/