50a51,53
> #ifdef __alpha__
> static int memTest = 0;
> #endif
65a69,93
> #ifdef __alpha__
> if (memTest) {
> addr = 0xfffffc0000000000;
> // addr += 16*1024*1024;
>
> printk("Preparing memory test.\n");
>
> t1 = cycleCounter(trash);
> for (x = 0; x < count; x++) {
> trash = readl(addr);
> t2 = cycleCounter(trash);
> times[num++] = t2 - t1;
> t1 = t2;
> addr += 4096;
> }
>
> printk("Measurements:\n");
> for (x = 0; x < count; x++) {
> printk("%d ", times[x]);
> if (((x + 1) % 10) == 0)
> printk("\n");
> }
> printk("\nDone.\n");
> } else
> #endif
148c176
< #error Architecture NOT SUPPORTE
---
> #error Architecture NOT SUPPORTED
164a193,195
> #ifdef __alpha__
> module_param(memTest, int, 0);
> #endif