diff options
Diffstat (limited to 'drivers/misc/sgi-gru')
-rw-r--r-- | drivers/misc/sgi-gru/grukservices.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grukservices.c b/drivers/misc/sgi-gru/grukservices.c index 79689b10f937..766e21e15574 100644 --- a/drivers/misc/sgi-gru/grukservices.c +++ b/drivers/misc/sgi-gru/grukservices.c | |||
@@ -937,6 +937,8 @@ static int quicktest1(unsigned long arg) | |||
937 | 937 | ||
938 | /* Need 1K cacheline aligned that does not cross page boundary */ | 938 | /* Need 1K cacheline aligned that does not cross page boundary */ |
939 | p = kmalloc(4096, 0); | 939 | p = kmalloc(4096, 0); |
940 | if (p == NULL) | ||
941 | return -ENOMEM; | ||
940 | mq = ALIGNUP(p, 1024); | 942 | mq = ALIGNUP(p, 1024); |
941 | memset(mes, 0xee, sizeof(mes)); | 943 | memset(mes, 0xee, sizeof(mes)); |
942 | dw = mq; | 944 | dw = mq; |