<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
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 {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.7601.18365"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi, Ayan Kumar Halder:</DIV>
<DIV style="TEXT-INDENT: 2em">I have changed the code to #include
<asm/switch_io.h>, compile OK now.</DIV>
<DIV>I'll test it as you say too.</DIV>
<DIV> </DIV>
<DIV>Thanks!</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:ayankumarh@gmail.com">AYAN KUMAR
HALDER</A></DIV>
<DIV><B>Date:</B> 2014-06-03 19:01</DIV>
<DIV><B>To:</B> <A href="mailto:varkab@cdac.in">Varka Bhadram</A></DIV>
<DIV><B>CC:</B> <A
href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies</A>; <A
href="mailto:jinzhao@wingtech.com">jinzhao</A></DIV>
<DIV><B>Subject:</B> Re: Re: can't find
<asm/system.h></DIV></DIV></DIV>
<DIV>
<DIV>Hi Jinzhao,</DIV>
<DIV> </DIV>
<DIV>Did you specify the include path ( as /usr/src/linux-headers-3.11.</DIV>
<DIV>0-20-generic/arch/arm/ )</DIV>
<DIV>with -I option while compiling your code.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Ayan Kumar Halder</DIV>
<DIV> </DIV>
<DIV>On Tue, Jun 3, 2014 at 2:05 PM, Varka Bhadram <varkab@cdac.in> wrote:</DIV>
<DIV>> For which architecture you are compiling ?</DIV>
<DIV>></DIV>
<DIV>> On June 3, 2014 at 1:58 PM "jinzhao@wingtech.com" <jinzhao@wingtech.com></DIV>
<DIV>> wrote:</DIV>
<DIV>> </DIV>
<DIV>></DIV>
<DIV>> And I can find "system.h" in the path of "</DIV>
<DIV>> /usr/src/linux-headers-3.11.0-20-generic/arch/arm/include/asm ".</DIV>
<DIV>></DIV>
<DIV>> ________________________________</DIV>
<DIV>> jinzhao@wingtech.com</DIV>
<DIV>></DIV>
<DIV>> From: jinzhao@wingtech.com</DIV>
<DIV>> Date: 2014-06-03 16:24</DIV>
<DIV>> To: Varka Bhadram; kernelnewbies</DIV>
<DIV>> Subject: Re: Re: can't find <asm/system.h></DIV>
<DIV>> The kernel version is 3.11.0-20-generic</DIV>
<DIV>></DIV>
<DIV>> ________________________________</DIV>
<DIV>> jinzhao@wingtech.com</DIV>
<DIV>></DIV>
<DIV>> From: Varka Bhadram</DIV>
<DIV>> Date: 2014-06-03 16:20</DIV>
<DIV>> To: kernelnewbies; jinzhao</DIV>
<DIV>> Subject: Re: can't find <asm/system.h></DIV>
<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] :</DIV>
<DIV>> http://lxr.free-electrons.com/source/arch/x86/include/asm/switch_to.h?v=3.4</DIV>
<DIV>> [1] :</DIV>
<DIV>> http://lxr.free-electrons.com/source/arch/x86/include/asm/system.h?v=3.3</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> On June 3, 2014 at 11:53 AM "jinzhao@wingtech.com" <jinzhao@wingtech.com></DIV>
<DIV>> wrote:</DIV>
<DIV>></DIV>
<DIV>> Dears:</DIV>
<DIV>> My system is ubuntu 12.04. In my code, I include the file <asm/system.h>,</DIV>
<DIV>> but when compiling the code, show the error as "can't find the file or</DIV>
<DIV>> directory asm/system.h". Why??</DIV>
<DIV>></DIV>
<DIV>> Thanks!</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> Kernelnewbies mailing list</DIV>
<DIV>> Kernelnewbies@kernelnewbies.org</DIV>
<DIV>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</DIV>
<DIV>></DIV>
<DIV>> -------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>> [ C-DAC is on Social-Media too. Kindly follow us at:</DIV>
<DIV>> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]</DIV>
<DIV>></DIV>
<DIV>> This e-mail is for the sole use of the intended recipient(s) and may</DIV>
<DIV>> contain confidential and privileged information. If you are not the</DIV>
<DIV>> intended recipient, please contact the sender by reply e-mail and destroy</DIV>
<DIV>> all copies and the original message. Any unauthorized review, use,</DIV>
<DIV>> disclosure, dissemination, forwarding, printing or copying of this email</DIV>
<DIV>> is strictly prohibited and appropriate legal action will be taken.</DIV>
<DIV>> -------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>></DIV>
<DIV>> __________ Information from ESET NOD32 Antivirus, version of virus signature</DIV>
<DIV>> database 9883 (20140602) __________</DIV>
<DIV>></DIV>
<DIV>> The message was checked by ESET NOD32 Antivirus.</DIV>
<DIV>></DIV>
<DIV>> http://www.eset.com</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> Kernelnewbies mailing list</DIV>
<DIV>> Kernelnewbies@kernelnewbies.org</DIV>
<DIV>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</DIV>
<DIV>></DIV>
<DIV>> -------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>> [ C-DAC is on Social-Media too. Kindly follow us at:</DIV>
<DIV>> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]</DIV>
<DIV>></DIV>
<DIV>> This e-mail is for the sole use of the intended recipient(s) and may</DIV>
<DIV>> contain confidential and privileged information. If you are not the</DIV>
<DIV>> intended recipient, please contact the sender by reply e-mail and destroy</DIV>
<DIV>> all copies and the original message. Any unauthorized review, use,</DIV>
<DIV>> disclosure, dissemination, forwarding, printing or copying of this email</DIV>
<DIV>> is strictly prohibited and appropriate legal action will be taken.</DIV>
<DIV>> -------------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV>></DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> Kernelnewbies mailing list</DIV>
<DIV>> Kernelnewbies@kernelnewbies.org</DIV>
<DIV>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</DIV>
<DIV>></DIV>
<DIV> </DIV>
<DIV>__________ Information from ESET NOD32 Antivirus, version of virus signature database 9883 (20140602) __________</DIV>
<DIV> </DIV>
<DIV>The message was checked by ESET NOD32 Antivirus.</DIV>
<DIV> </DIV>
<DIV>http://www.eset.com</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></BODY></HTML>