From: Carsten Langgaard <carstenl@mips.com>
To: Ralf Baechle <ralf@oss.sgi.com>,
"Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
linux-mips@oss.sgi.com
Subject: 64-bit kernel
Date: Tue, 06 Aug 2002 14:05:25 +0200 [thread overview]
Message-ID: <3D4FBB85.FA28A0C7@mips.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
Here is a patch, which have a more cosmetic value rather than fixing
anything, but it makes the compiler happier.
/Carsten
--
_ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
Denmark http://www.mips.com
[-- Attachment #2: cosmetic.patch --]
[-- Type: text/plain, Size: 1767 bytes --]
Index: include/asm-mips64/irq.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/irq.h,v
retrieving revision 1.4
diff -u -r1.4 irq.h
--- include/asm-mips64/irq.h 2001/03/02 03:04:55 1.4
+++ include/asm-mips64/irq.h 2002/08/06 11:35:06
@@ -46,6 +46,13 @@
struct irqaction;
extern int i8259_setup_irq(int irq, struct irqaction * new);
extern void disable_irq(unsigned int);
+
+#ifndef CONFIG_NEW_IRQ
+#define disable_irq_nosync disable_irq
+#else
+extern void disable_irq_nosync(unsigned int);
+#endif
+
extern void enable_irq(unsigned int);
/* Machine specific interrupt initialization */
Index: include/asm-mips64/pgtable.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/pgtable.h,v
retrieving revision 1.47.2.16
diff -u -r1.47.2.16 pgtable.h
--- include/asm-mips64/pgtable.h 2002/08/05 23:53:39 1.47.2.16
+++ include/asm-mips64/pgtable.h 2002/08/06 11:35:07
@@ -77,10 +77,6 @@
#else
-extern void (*_flush_icache_all)(void);
-extern void (*_flush_icache_range)(unsigned long start, unsigned long end);
-extern void (*_flush_icache_page)(struct vm_area_struct *vma, struct page *page);
-
#define flush_cache_mm(mm) _flush_cache_mm(mm)
#define flush_cache_range(mm,start,end) _flush_cache_range(mm,start,end)
#define flush_cache_page(vma,page) _flush_cache_page(vma, page)
@@ -89,12 +85,6 @@
#define flush_icache_user_range(vma, page, addr, len) \
flush_icache_page((vma), (page))
#define flush_icache_page(vma, page) _flush_icache_page(vma, page)
-#ifdef CONFIG_VTAG_ICACHE
-#define flush_icache_all() _flush_icache_all()
-#else
-#define flush_icache_all() do { } while(0)
-#endif
-
#endif /* !CONFIG_CPU_R10000 */
next reply other threads:[~2002-08-06 12:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-06 12:05 Carsten Langgaard [this message]
2002-08-06 23:14 ` 64-bit kernel Ralf Baechle
-- strict thread matches above, loose matches on Subject: below --
2002-06-18 12:33 Carsten Langgaard
2002-06-18 16:03 ` Justin Carlson
2002-06-19 9:32 ` Ralf Baechle
2002-06-19 11:07 ` Carsten Langgaard
2002-06-19 11:13 ` Ralf Baechle
2002-06-18 17:52 ` Jun Sun
2002-06-19 9:01 ` Ralf Baechle
2002-06-19 9:28 ` Ralf Baechle
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=3D4FBB85.FA28A0C7@mips.com \
--to=carstenl@mips.com \
--cc=linux-mips@oss.sgi.com \
--cc=macro@ds2.pg.gda.pl \
--cc=ralf@oss.sgi.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