The standalone testing code didn't implement the revision and didn't
build anymore, let's fix that.
static long get_value(struct lru64_head *lru, long a)
{
- struct lru64 *item;
+ struct lru64 *item = NULL;
if (lru) {
item = lru64_get(a, lru, lru, 0);
/* do the painful work here */
a = sum(a);
if (item)
- lru64_commit(item, (void *)a, lru, 0);
+ lru64_commit(item, (void *)a, lru, 1, 0);
return a;
}