RE: asm/*.h files missing for ppc arch.

2006-09-09 Thread Ming Liu
Dear all,
Sorry that mmu.h is there. However ptrace.h, cputime.h and so on are not in 
asm-ppc/. 

Waiting for your telling...

Regards
Ming


From: Ming Liu [EMAIL PROTECTED]
To: linuxppc-embedded@ozlabs.org
Subject: asm/*.h files missing for ppc arch.
Date: Sat, 09 Sep 2006 15:05:27 +

Dear all,
Now I am trying to compile a driver module for my linux 2.6.16 kernel in
ML403 with CPU arch Powerpc 405. But when I include linux/module.h, and
then in module.h it includes linux/sched.h, and then in sched.h it 
includes
asm/param.h and asm/semaphore.h and asm/mmu.h.., the compiling errors
of no such file or directory appear. I found that there are NOT such
files in asm/ at all.(the asm/ is linked to asm-ppc/ for PPC405 arch) 
Where
are they then? I think when compiling modules, we must include
linux/module.h and then these asm/*.h files, right? Any implies are
appreciated. Thanks a lot for your telling.

Regards
Ming

_
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com

___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  

___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: asm/*.h files missing for ppc arch.

2006-09-09 Thread Arnd Bergmann
Am Saturday 09 September 2006 20:34 schrieb Ming Liu:
 default:
   $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
 endif

It's usually easier if you add your module to your copy of the kernel
sources and build it along with all the other modules.

Arnd 
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded