Messages in this thread | | | Date | Thu, 30 Jul 1998 03:44:37 +0200 | Subject | How to get aligned memory? | From | Inaky Perez Gonzalez <> |
| |
Hi
This is a so silly question I feel dumb for not having able to find it myself ... how can I get aligned memory?
The problem is I have this structure, 64 bits long which needs to be aligned to 16 bytes (thx, Intel >:), but I cannot find my to do it (except to allocate a lot until I get it aligned, which is quite wasteful :).
TIA
--
Linux-USB! http://peloncho.fis.ucm.es/~inaky/USB.html - - Inaky Perez Gonzalez -- PGP pubkey fingerprint - inaky@peloncho.fis.ucm.es -- 8E 34 3A 62 64 99 E2 44 - http://peloncho.fis.ucm.es/~inaky -- AD 7B 30 D9 DD FF 3E 4C - --------------------------------- -- ----------------------- - The loneliness of the long distance runner .....
- 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.altern.org/andrebalsa/doc/lkml-faq.html
| |