Re: [android-kernel] How to print out the current pid in kernel

2011-02-24 Thread Robert Beckett
int pid_n = pid_nr(task_pid(current)); On 22/02/11 08:37, Footballer wrote: Hi fork, I'm now porting the Android to a processor core. Once the zygote is up, the processor trigger an illegal exception. It means that there is a wrong instruction is executed by the processor. I checked the program

[android-kernel] How to print out the current pid in kernel

2011-02-22 Thread Footballer
Hi fork, I'm now porting the Android to a processor core. Once the zygote is up, the processor trigger an illegal exception. It means that there is a wrong instruction is executed by the processor. I checked the program pointer when the exception is triggered, it should be in user space. I wouldn'