<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<style type="text/css"> BLOCKQUOTE { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em;}
OL { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px;}
UL { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px;}
P { MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px;}
BODY { FONT-FAMILY: ;微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt;}
</style></head><body style="">
<div>
What is the kernel version that your are using?
</div>
<div>
 
</div>
<div>
If the kernel version > 3.3
</div>
<div>
#inclued asm/switch_to.h [0]
</div>
<div>
else
</div>
<div>
#include <asm/system.h> [1]
</div>
<div>
 
</div>
<div>
Regards,
</div>
<div>
Varka Bhadram
</div>
<div>
 
</div>
<div>
[0] :
<a>http://lxr.free-electrons.com/source/arch/x86/include/asm/switch_to.h?v=3.4</a>
</div>
<div>
[1] : http://lxr.free-electrons.com/source/arch/x86/include/asm/system.h?v=3.3
</div>
<div>
 
</div>
<div>
<br/>On June 3, 2014 at 11:53 AM "jinzhao@wingtech.com" <jinzhao@wingtech.com> wrote:
</div>
<div style="position: relative;">
<blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
<div>
Dears:
</div>
<div style="text-indent: 2em;">
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??
</div>
<div style="text-indent: 2em;">
 
</div>
<div>
Thanks!
</div>
</blockquote>
<br/>  _______________________________________________
<br/>Kernelnewbies mailing list
<br/>Kernelnewbies@kernelnewbies.org
<br/>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
</div>
<br />-------------------------------------------------------------------------------------------------------------------------------
<br />[ C-DAC is on Social-Media too. Kindly follow us at:
<br />Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
<br />
<br />This e-mail is for the sole use of the intended recipient(s) and may
<br />contain confidential and privileged information. If you are not the
<br />intended recipient, please contact the sender by reply e-mail and destroy
<br />all copies and the original message. Any unauthorized review, use,
<br />disclosure, dissemination, forwarding, printing or copying of this email
<br />is strictly prohibited and appropriate legal action will be taken.
<br />-------------------------------------------------------------------------------------------------------------------------------
</body></html>