From: James Nelson <james4765@cwazy.co.uk>
To: linux-kernel@vger.kernel.org
Cc: spyro@f2s.com, James Nelson <james4765@cwazy.co.uk>
Subject: [PATCH] arm26: update irq handling code in arch/arm26/machine/dma.c
Date: Tue, 4 Jan 2005 19:59:28 -0600 [thread overview]
Message-ID: <20050105015946.22220.43127.86751@localhost.localdomain> (raw)
Remove to-be-deprecated function save_flags() and nonexistent function local_save_flags_cli()
Signed-off-by: James Nelson <james4765@gmail.com>
diff -urN --exclude='*~' linux-2.6.10-mm1-original/arch/arm26/machine/dma.c linux-2.6.10-mm1/arch/arm26/machine/dma.c
--- linux-2.6.10-mm1-original/arch/arm26/machine/dma.c 2005-01-03 18:42:35.631091938 -0500
+++ linux-2.6.10-mm1/arch/arm26/machine/dma.c 2005-01-04 20:52:17.051263510 -0500
@@ -40,7 +40,7 @@
case DMA_MODE_READ: { /* read */
unsigned long flags;
DPRINTK("enable_dma fdc1772 data read\n");
- local_save_flags_cli(flags);
+ local_irq_save(flags);
clf();
memcpy ((void *)0x1c, (void *)&fdc1772_dma_read,
@@ -54,7 +54,7 @@
case DMA_MODE_WRITE: { /* write */
unsigned long flags;
DPRINTK("enable_dma fdc1772 data write\n");
- local_save_flags_cli(flags);
+ local_irq_save(flags);
clf();
memcpy ((void *)0x1c, (void *)&fdc1772_dma_write,
&fdc1772_dma_write_end - &fdc1772_dma_write);
@@ -85,7 +85,7 @@
DPRINTK("arc_floppy_cmdend_enable_dma\n");
/*printk("enable_dma fdc1772 command end FIQ\n");*/
- save_flags(flags);
+ local_irq_save(flags);
clf();
/* B fdc1772_comendhandler */
next reply other threads:[~2005-01-05 1:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-05 1:59 James Nelson [this message]
2005-01-06 2:18 ` Ian Molton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050105015946.22220.43127.86751@localhost.localdomain \
--to=james4765@cwazy.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=spyro@f2s.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®