vserver 1.9.5.x5
[linux-2.6.git] / drivers / char / agp / alpha-agp.c
index edca77d..8b7ed6b 100644 (file)
@@ -195,6 +195,8 @@ alpha_core_agp_setup(void)
 
 static int __init agp_alpha_core_init(void)
 {
+       if (agp_off)
+               return -EINVAL;
        if (alpha_mv.agp_info)
                return alpha_core_agp_setup();
        return -ENODEV;