lkml.org 
[lkml]   [2002]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] remove a workaround for gcc-2.4.5
Hi Claus-Justus,

the patch below removes a workaround for gcc-2.4.5. Since a long time
passed since this compiler was supported the last time this could be IMHO
removed from the 2.2/2.4/2.5 kernels.

cu
Adrian


--- drivers/char/ftape/lowlevel/fdc-io.c.old Wed Jan 23 21:59:13 2002
+++ drivers/char/ftape/lowlevel/fdc-io.c Wed Jan 23 22:00:39 2002
@@ -928,18 +928,6 @@
set_dma_mode(fdc.dma, mode);
set_dma_addr(fdc.dma, virt_to_bus((void*)addr));
set_dma_count(fdc.dma, count);
-#ifdef GCC_2_4_5_BUG
- /* This seemingly stupid construction confuses the gcc-2.4.5
- * code generator enough to create correct code.
- */
- if (1) {
- int i;
-
- for (i = 0; i < 1; ++i) {
- ftape_udelay(1);
- }
- }
-#endif
enable_dma(fdc.dma);
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:15    [W:0.077 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site