<!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;}
DIV.FoxDiv20140603162336431559 { FONT-FAMILY: ; COLOR: #000080; FONT-SIZE: 10.5pt; 微软雅黑: }
DIV.FoxDiv20140603162541860875 { MARGIN: 10px; FONT-FAMILY: ;微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt;}
BODY { FONT-FAMILY: ;微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt;}
BLOCKQUOTE { MARGIN-TOP: 0px;}
OL { MARGIN-TOP: 0px;}
UL { MARGIN-TOP: 0px;}
BLOCKQUOTE { MARGIN-TOP: 0px;}
OL { MARGIN-TOP: 0px;}
UL { MARGIN-TOP: 0px;}
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;}
DIV.FoxDiv20140603162336431559 { FONT-FAMILY: ; COLOR: #000080; FONT-SIZE: 10.5pt; 微软雅黑: }
BLOCKQUOTE { MARGIN-TOP: 0px;}
OL { MARGIN-TOP: 0px;}
UL { MARGIN-TOP: 0px;}
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;}
</style></head><body style="">
<div>
For which architecture you are compiling ?
</div>
<div>
<br/>On June 3, 2014 at 1:58 PM "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>
And I can find "system.h" in the path of " /usr/src/linux-headers-3.11.0-20-generic/arch/arm/include/asm ".
</div>
<div>
 
</div>
<hr size="1"/>
<div>
<span>jinzhao@wingtech.com</span>
</div>
<div>
 
</div>
<div style="border-bottom: none; border-left: none; padding-bottom: 0cm; padding-left: 0cm; padding-right: 0cm; border-top: #b5c4df 1pt solid; border-right: none; padding-top: 3pt;">
<div style="background: #efefef; color: #000000; font-size: 12px; padding: 8px;">
<div>
<strong>From:</strong> 
<a href="mailto:jinzhao@wingtech.com">jinzhao@wingtech.com</a>
</div>
<div>
<strong>Date:</strong> 2014-06-03 16:24
</div>
<div>
<strong>To:</strong> 
<a href="mailto:varkab@cdac.in">Varka Bhadram</a>;
<a href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies</a>
</div>
<div>
<strong>Subject:</strong> Re: Re: can't find <asm/system.h>
</div>
</div>
</div>
<div>
<div class="FoxDiv20140603162541860875">
<div>
The kernel version is 3.11.0-20-generic
</div>
<div>
 
</div>
<hr size="1"/>
<div>
<span>jinzhao@wingtech.com</span>
</div>
<div>
 
</div>
<div style="border-bottom: none; border-left: none; padding-bottom: 0cm; padding-left: 0cm; padding-right: 0cm; border-top: #b5c4df 1pt solid; border-right: none; padding-top: 3pt;">
<div style="background: #efefef; color: #000000; font-size: 12px; padding: 8px;">
<div>
<strong>From:</strong> 
<a href="mailto:varkab@cdac.in">Varka Bhadram</a>
</div>
<div>
<strong>Date:</strong> 2014-06-03 16:20
</div>
<div>
<strong>To:</strong> 
<a href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies</a>;
<a href="mailto:jinzhao@wingtech.com">jinzhao</a>
</div>
<div>
<strong>Subject:</strong> Re: can't find <asm/system.h>
</div>
</div>
</div>
<div>
<div class="FoxDiv20140603162336431559">
<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="border-left: blue 1px solid; padding-left: 10px; margin-left: 0px;" 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/>-------------------------------------------------------------------------------------------------------------------------------
<br/>
<br/>__________ Information from ESET NOD32 Antivirus, version of virus signature database 9883 (20140602) __________
<br/>
<br/>The message was checked by ESET NOD32 Antivirus.
<br/>
<br/>
<a href="http://www.eset.com">http://www.eset.com</a>
</div>
</div>
</div>
</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>