Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bibek Sahu <scorpio@dodds.net>
To: axp-list@redhat.com
Subject: patch for 2.3.29
Date: Wed, 24 Nov 1999 19:44:10 -0600 (CST)	[thread overview]
Message-ID: <Pine.LNX.4.10.9911241938510.14015-200000@prophet.dodds.net> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 343 bytes --]


	Fixes a problem in fbmem.c (it needs io.h included, but that was
only being done for powerpc) and one in pgtable.h.

	The problem in pgtable.h would/will cause problems for anything
trying to use io_remap_page_range because the define for it is broken.

	They're both trivial fixes, but they did keep my kernel from
compiling.

Enjoy,
- Bob

[-- Attachment #2: Type: TEXT/PLAIN, Size: 829 bytes --]

--- drivers/video/fbmem.c.orig	Wed Nov 24 18:35:36 1999
+++ drivers/video/fbmem.c	Wed Nov 24 19:08:57 1999
@@ -30,7 +30,7 @@
 #if defined(__mc68000__) || defined(CONFIG_APUS)
 #include <asm/setup.h>
 #endif
-#ifdef __powerpc__
+#if defined(__powerpc__) || defined(__alpha__)
 #include <asm/io.h>
 #endif
 #include <asm/uaccess.h>
--- include/asm-alpha/pgtable.h.orig	Wed Nov 24 18:40:55 1999
+++ include/asm-alpha/pgtable.h	Wed Nov 24 19:34:29 1999
@@ -297,7 +297,7 @@
 #define kern_addr_valid(addr)	(1)
 
 #define io_remap_page_range(start, busaddr, size, prot) \
-	remap_page_range(start, virt_to_phys(__ioremap(busaddr), 0), size, prot)
+	remap_page_range(start, virt_to_phys(__ioremap(busaddr)), size, prot)
 
 #define pte_ERROR(e) \
 	printk("%s:%d: bad pte %016lx.\n", __FILE__, __LINE__, pte_val(e))

             reply	other threads:[~1999-11-25  1:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-25  1:44 Bibek Sahu [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-11-25  9:18 patch for 2.3.29 Waibel Niki
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox