This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / i386 / mach-voyager / voyager_smp.c
index d7054f4..b99561d 100644 (file)
@@ -24,7 +24,6 @@
 #include <asm/desc.h>
 #include <asm/voyager.h>
 #include <asm/vic.h>
-#include <asm/pgalloc.h>
 #include <asm/mtrr.h>
 #include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
@@ -1106,6 +1105,9 @@ smp_call_function (void (*func) (void *info), void *info, int retry,
        if (!mask)
                return 0;
 
+       /* Can deadlock when called with interrupts disabled */
+       WARN_ON(irqs_disabled());
+
        data.func = func;
        data.info = info;
        data.started = mask;