Re: [Linux-ia64] kernel update (relative to 2.4.10)

From: Andreas Schwab <schwab_at_suse.de>
Date: 2001-09-26 01:45:38
David Mosberger <davidm@hpl.hp.com> writes:

|> Here is a long-awaited kernel update which brings us in sync with
|> 2.4.10.  As usual, it's available at
|> ftp://ftp.kernel.org/pub/linux/kernel/ports/ia64/ in file:
|> 
|> 	linux-2.4.10-ia64-010924.diff*

This patch is needed to get the DRM code to compile:

--- linux/drivers/char/drm/drmP.h	2001/09/25 12:19:14	1.1
+++ linux/drivers/char/drm/drmP.h	2001/09/25 12:19:24
@@ -366,10 +366,10 @@
    if (len > DRM_PROC_LIMIT) { ret; *eof = 1; return len - offset; }
 
 				/* Mapping helper macros */
-#define DRM_IOREMAP(map)						\
+#define DRM_IOREMAP(map, dev)						\
 	(map)->handle = DRM(ioremap)( (map)->offset, (map)->size, (dev) )
 
-#define DRM_IOREMAPFREE(map)						\
+#define DRM_IOREMAPFREE(map, dev)					\
 	do {								\
 		if ( (map)->handle && (map)->size )			\
 			DRM(ioremapfree)( (map)->handle, (map)->size, (dev) );	\

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
Received on Tue Sep 25 08:45:43 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST