malloc memory to be 32 byte aligned in kernel
anish singh
anish198519851985 at gmail.com
Tue Jan 28 18:32:37 EST 2014
On Tue, Jan 28, 2014 at 11:20 AM, m silverstri
<michael.j.silverstri at gmail.com> wrote:
> Hi,
>
> I am writing a kernel driver, can you please tell me how can I
> allocate a buffer which is 32 byte aligned?
malloc already aligns memory for basic data types AFAIK
>
> Thank you.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
More information about the Kernelnewbies
mailing list