projects
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
ia64: fix panic during `modprobe -r xpc'
[linux-2.6.git]
/
drivers
/
misc
/
sgi-gru
/
grufile.c
diff --git
a/drivers/misc/sgi-gru/grufile.c
b/drivers/misc/sgi-gru/grufile.c
index
23c91f5
..
d61cee7
100644
(file)
--- a/
drivers/misc/sgi-gru/grufile.c
+++ b/
drivers/misc/sgi-gru/grufile.c
@@
-445,6
+445,9
@@
static void __exit gru_exit(void)
int order = get_order(sizeof(struct gru_state) *
GRU_CHIPLETS_PER_BLADE);
+ if (!IS_UV())
+ return;
+
for (i = 0; i < GRU_CHIPLETS_PER_BLADE; i++)
free_irq(IRQ_GRU + i, NULL);