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

Andreas Schwab
2001-09-25T15:45:38Z

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