Thread (80 messages) 80 messages, 8 authors, 2013-01-17
STALE4897d

[PATCH v5 03/14] KVM: ARM: Initial skeleton to compile KVM support

From: Russell King - ARM Linux <hidden>
Date: 2013-01-14 16:24:15
Also in: kvm

On Tue, Jan 08, 2013 at 01:38:55PM -0500, Christoffer Dall wrote:
+	/* -ENOENT for unknown features, -EINVAL for invalid combinations. */
+	for (i = 0; i < sizeof(init->features)*8; i++) {
+		if (init->features[i / 32] & (1 << (i % 32))) {
Isn't this an open-coded version of test_bit() ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help