Dear All:
1 I found some placeuse two !!, what's means
if(button-gpio != INVALID_GPIO)
state = !!((gpio_get_value(button-gpio) ? 1 : 0) ^ button-active_low);
else
state = !!button-adc_state;
2 is there some MSN group to study linux kernel or discuss it ?
Thanks and
!! is generally used to make the return bool value.
You can use kernelnewbies and linux kernel mailing list.
On Mon, Apr 1, 2013 at 12:43 PM, Ben Wu cray...@yahoo.cn wrote:
Dear All:
1 I found some placeuse two !!, what's means
if(button-gpio != INVALID_GPIO)
state =
Dear All:
1 I found some placeuse two !!, what's means
if(button-gpio != INVALID_GPIO)
state = !!((gpio_get_value(button-gpio) ? 1 : 0) ^ button-active_low);
else
state = !!button-adc_state;
2 is there some MSN group to study linux kernel or discuss it ?
Thanks and Best
Please see my question inline.
Thanks in Advance,
Dhananjay
On Mon, Apr 1, 2013 at 9:42 AM, Avinash Patil avinashapa...@gmail.comwrote:
AFAIK.
1) as we know pci_alloc_consistent allocates dma buffers which is visible
to DMA controller as well as CPU.
virt_add =
On Mon, 01 Apr 2013 15:10:46 +0800, Ben Wu said:
1 I found some placeuse two !!, what's means
if(button-gpio != INVALID_GPIO)
state = !!((gpio_get_value(button-gpio) ? 1 : 0) ^
button-active_low);
else
Gaah. That line of code fell out of the ugly tree and hit every branch
on
Ben Wu writes:
Dear All:
1 I found some placeuse two !!, what's means
if(button-gpio != INVALID_GPIO)
state = !!((gpio_get_value(button-gpio) ? 1 : 0) ^ button-active_low);
else
state = !!button-adc_state;
if a = 1010011 then
!a = 0 and
!!a = 1
if a = 00 then
!a = 1
!! = 0
On 29-03-2013 18:06, valdis.kletni...@vt.edu wrote:
On Fri, 29 Mar 2013 17:09:14 -0300, Daniel Hilst said:
The idea is, mount both filesystems together, and make write/read
operations go on this way
Read operations:
1. See if data is already on dest fs,
2. If is then read data
On 29-03-2013 17:28, Greg Freemyer wrote:
On Fri, Mar 29, 2013 at 4:09 PM, Daniel Hilst danielhi...@gmail.com wrote:
Suppose that I have two big filesystems, dest fs and source fs.. I want
to copy whole source fs to dest fs, but I need to keep
source filesystem online I can't mount source fs
Ive had to do something similar before. It is painful, but doable.
* create the directory structure on the target. (find -exec...)
* create a symlink for every file on the target device, obviously pointing
to the origin device. (Find)
File system should be useable.
* progressively
On Mon, Apr 01, 2013 at 03:13:06PM +0800, Ben Wu wrote:
2 is there some MSN group to study linux kernel or discuss it ?
MSN:cray...@yahoo.cn
You seem to have a strange notion of MSN. I guess you don't mean
Microsoft Network (which really is what MSN means much of the time),
but e-mail. If you
Hi?
Any idea what is the difference cgroup.procs entry and tasks
entry of cgroup sysfs?
both represent pid lists.
I ran:
cat /sys/fs/cgroup/cpuset/cgroup.procs
and
cat /sys/fs/cgroup/cpuset/tasks
and entries of cgroup.procs appear in tasks.
However there are many more tasks than cgroup.procs:
On Sun, Mar 31, 2013 at 11:45 AM, Kumar amit mehta gmate.a...@gmail.comwrote:
Unfortunately, still no luck. The build goes fine, but it seems that the
boot
process again got stuck at the same place. I'm using the latest linux-next
tree.
$ git describe
next-20130328
build procedure:
$
How to read the reason for Kernel reboot?
Currently i am using __setup(warmboot=,myfunc)
But it looks like i can use this on only one time. If i do this for two
times in two drivers only one guy is getting called.
Is there any way i could read the reason for reboot.
I want to read it so that i
13 matches
Mail list logo