RE: ____cacheline_aligned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If I don't include linux/cache.h it will be treated as an object of that structure right?
But that will create another problem
The userland structure size and kernel structure size becomes different
The reason for adding ____cacheline_aligned to the userland structure is to have both userland structure and the kernel structure size equal

Mohan.

-----Original Message-----
From: Usman S. Ansari [mailto:uansari@yahoo.com]
Sent: Wednesday, February 19, 2003 6:32 PM
To: Mohanasundaram C
Subject: Re: ____cacheline_aligned


Do not include linux/cache.c

Usman

Mohanasundaram C wrote:
> Hi All,
> 
> In our project we have a module, which will copy linux_mib ...
> 

-- 
Usman S. Ansari

Alif Laam Meem. This is the Book, in it is guidance sure, without doubt, 
to those who fear Allah. Who believe in the Unseen, are steadfast in 
prayer, and spend out of what We have provided for them (Quraan Chapter 
2, v 1-3)

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux