Re: can't find <asm/system.h>

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

 



What is the kernel version that your are using?
 
If the kernel version > 3.3
#inclued asm/switch_to.h [0]
else
#include <asm/system.h> [1]
 
Regards,
Varka Bhadram
 
[1] : http://lxr.free-electrons.com/source/arch/x86/include/asm/system.h?v=3.3
 

On June 3, 2014 at 11:53 AM "jinzhao@xxxxxxxxxxxx" <jinzhao@xxxxxxxxxxxx> wrote:
Dears:
My system is ubuntu 12.04. In my code, I include the file <asm/system.h>, but when compiling the code, show the error as "can't find the file or directory asm/system.h". Why??
 
Thanks!

  _______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------------------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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