libata: disable LPM for Crucial BX100 SSD 500GB drive
[pandora-kernel.git] / drivers / misc / kgdbts.c
index d087456..3aa9a96 100644 (file)
@@ -968,22 +968,6 @@ static void run_singlestep_break_test(void)
        kgdbts_break_test();
 }
 
-static void test_debug_rodata(void)
-{
-#ifdef CONFIG_DEBUG_RODATA
-       /* Until there is an api to write to read-only text segments, use
-        * HW breakpoints for the remainder of any tests, else print a
-        * failure message if hw breakpoints do not work.
-        */
-       if (!(arch_kgdb_ops.flags & KGDB_HW_BREAKPOINT && hwbreaks_ok)) {
-               eprintk("kgdbts: HW breakpoints BROKEN, ending tests\n");
-               return;
-       }
-       force_hwbrks = 1;
-       v1printk("kgdbts:Using HW breakpoints for SW breakpoint tests\n");
-#endif /* CONFIG_DEBUG_RODATA */
-}
-
 static void kgdbts_run_tests(void)
 {
        char *ptr;
@@ -1016,7 +1000,6 @@ static void kgdbts_run_tests(void)
                v1printk("kgdbts:RUN access write breakpoint test\n");
                run_hw_break_test(0);
        }
-       test_debug_rodata();
 
        /* required internal KGDB tests */
        v1printk("kgdbts:RUN plant and detach test\n");