i think just & 0x1F, after allocating from kmalloc(), but must ensure that the new address have sufficient space after alignment.
correct? On Sun, Feb 15, 2009 at 5:41 PM, Ramagudi Naziir <[email protected]> wrote: > hello everyone > > i need to allocate memory aligned 16 bytes. > > how can i do that ? > > can I use kmalloc for that ? > > thank you in advance > naziir > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [email protected] > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- Regards, Peter Teoh
