]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: Use sizeof instead of magic number
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 15 Jul 2010 14:44:23 +0000 (17:44 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Thu, 15 Jul 2010 14:44:23 +0000 (17:44 +0300)
commit18ec0c8d1ac0d091cf9bbb7ebdefb8d5e788d4ac
tree0151b55a26193db57513ae912d7865ffcd10c22a
parent42a08fbce593e0daa2faf4166805d68115455a63
kvm: Use sizeof instead of magic number

The 'ecx' register contains size of copied data. Use sizeof(struct e820_entry)
instead of a magic number to make it obvious from the code.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/bios/e820.c