- patches.fixes/patch-2.6.11-rc1: 2.6.11-rc1.
[linux-flexiantxendom0-3.2.10.git] / drivers / input / input.c
index d9e57bb..35fb705 100644 (file)
@@ -70,7 +70,7 @@ void input_event(struct input_dev *dev, unsigned int type, unsigned int code, in
        if (type > EV_MAX || !test_bit(type, dev->evbit))
                return;
 
-       add_mouse_randomness((type << 4) ^ code ^ (code >> 4) ^ value);
+       add_input_randomness(type, code, value);
 
        switch (type) {