Re: task deactivation

2015-04-26 Thread Valdis . Kletnieks
On Sat, 25 Apr 2015 19:17:13 +0200, Mustafa Hussain said: what the function deactivate_task() exactly do ? thanks in advance. void deactivate_task(struct rq *rq, struct task_struct *p, int flags) { if (task_contributes_to_load(p)) rq-nr_uninterruptible++;

Question about DC-DC frequency handling

2015-04-26 Thread Stefan Wahren
Hi, i'm current working on a regulator driver which should be able to change DC-DC clock frequency. Now here is my question. What is the prefered way to implement the clock handling? Option A): The regulator driver handles all internally (select clock source, set frequency). Option B): The

Structure declaration without its members variables

2015-04-26 Thread harshkdev
Hi, What does this syntax means in file Arch/arm64/include/asm/kvm_asm.h struct kvm; struct kvm_vcpu; Generally we declare structure and its member at same place. Regards Harsh Jain ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

4.1-rc1 fails with O3 optimization

2015-04-26 Thread Andev
Hello Newbies, I usually compile my kernel with an unsupported O3 option(why not? :). Today after running the latest 4.1-rc1 kernel with O3, I got a boot failure. This is the first time this has happened for me. If someone is interested in debugging this, please read on. Can you try to

Re: Structure declaration without its members variables

2015-04-26 Thread Valdis . Kletnieks
On Mon, 27 Apr 2015 00:16:59 +0530, harshkdev said: struct kvm; struct kvm_vcpu; Generally we declare structure and its member at same place. It's a forward declaration. Consider two structures that have pointers to each other: struct a { int b, c, d; struct *b b_ptr; } struct

Re: Write and understand Assembly code in .S file for ARM

2015-04-26 Thread harshkdev
Hi, Coranac ARMĀ  link is very good thanks :) On 19 Apr 2015 18:45, victorascr...@gmail.com wrote: Hi, On 15-04-19 17:46:20, harshkdev wrote: Hi, Please refer some online tutorials or pdf books to write and understand assembly code written in .S file. Get Arm System