--- linux-2.6.10-rc1-bk2-set2/arch/arm/mach-s3c2410/irq.c	2004-10-25 09:58:58.000000000 +0100
+++ linux-2.6.10-rc1-bk2-set2-work1/arch/arm/mach-s3c2410/irq.c	2004-11-04 00:41:25.000000000 +0000
@@ -36,6 +36,9 @@
  *
  *   05-Oct-2004  Ben Dooks <ben@simtec.co.uk>
  *		  Add support for power management controls
+ *
+ *   04-Nov-2004  Ben Dooks
+ *		  Fix standard IRQ wake for EINT0..4 and RTC
 */
 
 #include <linux/init.h>
@@ -91,7 +94,7 @@
 	if (!state)
 		s3c_irqwake_intmask |= irqbit;
 	else
-		s3c_irqwake_intmask &= irqbit;
+		s3c_irqwake_intmask &= ~irqbit;
 
 	return 0;
 }
