virtio: rng: re-arrange struct elements for better packing

Re-arrange the elements of the virtrng_info struct to pack it better.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Этот коммит содержится в:
Amit Shah
2014-07-27 07:33:01 +09:30
коммит произвёл Rusty Russell
родитель 373445d02b
Коммит 6062829fcd

Просмотреть файл

@@ -30,11 +30,11 @@ static DEFINE_IDA(rng_index_ida);
struct virtrng_info {
struct hwrng hwrng;
struct virtqueue *vq;
unsigned int data_avail;
struct completion have_data;
bool busy;
char name[25];
unsigned int data_avail;
int index;
bool busy;
};
static bool probe_done;