<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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 {
        LINE-HEIGHT: 1.5; MARGIN: 10px; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px
}
OL {
        MARGIN-TOP: 0px
}
UL {
        MARGIN-TOP: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.18365">
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px
}
OL {
        MARGIN-TOP: 0px
}
UL {
        MARGIN-TOP: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px">
<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 style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>jinzhao@wingtech.com</SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A
href="mailto:jinzhao@wingtech.com">jinzhao@wingtech.com</A></DIV>
<DIV><B>Date:</B> 2014-06-03 16:24</DIV>
<DIV><B>To:</B> <A href="mailto:varkab@cdac.in">Varka Bhadram</A>; <A
href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies</A></DIV>
<DIV><B>Subject:</B> Re: Re: can't find
<asm/system.h></DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20140603162541860875>
<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; 微软雅黑:
}
</STYLE>
<STYLE>BLOCKQUOTE {
        MARGIN-TOP: 0px
}
OL {
        MARGIN-TOP: 0px
}
UL {
        MARGIN-TOP: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.18365">
<DIV>The kernel version is 3.11.0-20-generic </DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>jinzhao@wingtech.com</SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:varkab@cdac.in">Varka Bhadram</A></DIV>
<DIV><B>Date:</B> 2014-06-03 16:20</DIV>
<DIV><B>To:</B> <A
href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies</A>; <A
href="mailto:jinzhao@wingtech.com">jinzhao</A></DIV>
<DIV><B>Subject:</B> Re: can't find <asm/system.h></DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20140603162336431559>
<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
}
</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="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><BR></DIV></DIV></DIV></DIV></BODY></HTML>