linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* about ppc <asm/string.h>
@ 2006-04-17  7:08 HappyPhot
  2006-04-17 18:52 ` Becky Bruce
  0 siblings, 1 reply; 2+ messages in thread
From: HappyPhot @ 2006-04-17  7:08 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

  Under linux kernel, the file /include/linux/string.h will include 
<asm/string.h>.
  But I didn't found "string.h" under "asm-ppc", my asm is link to asm-ppc
(CPU is ppc). This makes me compile some code failed.
  (kernel version 2.6.x)

  Anybody knows about this ? Why there is no string.h under "asm-ppc" 
directory.

thanks a lot,
/Phot

 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: about ppc <asm/string.h>
  2006-04-17  7:08 about ppc <asm/string.h> HappyPhot
@ 2006-04-17 18:52 ` Becky Bruce
  0 siblings, 0 replies; 2+ messages in thread
From: Becky Bruce @ 2006-04-17 18:52 UTC (permalink / raw)
  To: HappyPhot; +Cc: linuxppc-embedded

Hi!

There's no string.h in include/asm-ppc because this is one of the  
header files that has been merged between 32 and 64-bit powerpc.  It  
now lives in include/asm-powerpc with all the other merged headers.  
Only headers specific to 32-bit ppc have been left in include/asm- 
ppc.  For a kernel build with ARCH=ppc, the build uses headers from  
both include/asm-ppc and include/asm-powerpc.  This is accomplished  
through the use of a temporary include directory that is created in  
the arch dir.  Check out arch/ppc/Makefile for details.

Cheers,
-Becky

On Apr 17, 2006, at 2:08 AM, HappyPhot wrote:

> Hi,
>
>   Under linux kernel, the file /include/linux/string.h will include
> <asm/string.h>.
>   But I didn't found "string.h" under "asm-ppc", my asm is link to  
> asm-ppc
> (CPU is ppc). This makes me compile some code failed.
>   (kernel version 2.6.x)
>
>   Anybody knows about this ? Why there is no string.h under "asm-ppc"
> directory.
>
> thanks a lot,
> /Phot
>
>
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-17 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-17  7:08 about ppc <asm/string.h> HappyPhot
2006-04-17 18:52 ` Becky Bruce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).