2.5.69-bk19 drm_memory.h compilation error

2.5.69-bk19 drm_memory.h compilation error

Post by Grzegorz Jaskiewic » Tue, 27 May 2003 16:00:17



In file included from drivers/char/drm/i810_drv.c:52:
drivers/char/drm/drm_memory.h: In function `drm_ioremapfree':
drivers/char/drm/drm_memory.h:170: error: `PKMAP_BASE' undeclared (first
use in this function)
drivers/char/drm/drm_memory.h:170: error: (Each undeclared identifier is
reported only once
drivers/char/drm/drm_memory.h:170: error: for each function it appears
in.)
make[3]: *** [drivers/char/drm/i810_drv.o] Error 1
make[2]: *** [drivers/char/drm] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

looks like include/asm/highmem.h is not included.

patch below against 2.5.69-bk19
this helps

----------------------------------------------------------
diff -ur 1/drivers/char/drm/drm_memory.h 2/drivers/char/drm/drm_memory.h
--- 1/drivers/char/drm/drm_memory.h     2003-05-26 14:40:31.000000000
+0100
+++ 2/drivers/char/drm/drm_memory.h     2003-05-26 14:42:29.000000000

 #include <linux/config.h>
 #include "drmP.h"

+/*
+ * we need PKMAP_BASE definition
+*/
+
+#ifdef CONFIG_HIGHMEM
+#include <asm/highmem.h>
+#endif
+
 /* Cut down version of drm_memory_debug.h, which used to be called
  * drm_memory.h.  If you want the debug functionality, change 0 to 1
  * below.
------------------------------------------------------------------

--

K4 labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.69-bk19 drm_memory.h compilation error

Post by Christoph Hellwi » Tue, 27 May 2003 16:40:09



>  #include <linux/config.h>
>  #include "drmP.h"

> +/*
> + * we need PKMAP_BASE definition
> +*/
> +
> +#ifdef CONFIG_HIGHMEM
> +#include <asm/highmem.h>
> +#endif

Just include linux/highmem.h (never the asm version!) uncodintionally amd remove
the noisy comment.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.69-bk19 drm_memory.h compilation error

Post by Grzegorz Jaskiewic » Tue, 27 May 2003 16:50:09



> Just include linux/highmem.h (never the asm version!) uncodintionally amd remove
> the noisy comment.

diff -ur 1/drivers/char/drm/drm_memory.h 2/drivers/char/drm/drm_memory.h
--- 1/drivers/char/drm/drm_memory.h     2003-05-26 14:40:31.000000000
+0100
+++ 2/drivers/char/drm/drm_memory.h     2003-05-26 15:28:08.000000000

 #include <linux/config.h>
 #include "drmP.h"

+#ifdef CONFIG_HIGHMEM
+#include <linux/highmem.h>
+#endif
+
 /* Cut down version of drm_memory_debug.h, which used to be called
  * drm_memory.h.  If you want the debug functionality, change 0 to 1
  * below.

--

K4 labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.69-bk19 drm_memory.h compilation error

Post by Grzegorz Jaskiewic » Tue, 27 May 2003 17:00:20


that's better :]


> Just include linux/highmem.h (never the asm version!) uncodintionally amd remove
> the noisy comment.

diff -ur 1/drivers/char/drm/drm_memory.h 2/drivers/char/drm/drm_memory.h
--- 1/drivers/char/drm/drm_memory.h     2003-05-26 14:40:31.000000000
+0100
+++ 2/drivers/char/drm/drm_memory.h     2003-05-26 15:41:47.000000000

 #include <linux/config.h>
 #include "drmP.h"

+#include <linux/highmem.h>
+
 /* Cut down version of drm_memory_debug.h, which used to be called
  * drm_memory.h.  If you want the debug functionality, change 0 to 1
  * below.

--

K4 labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. OUPS 2.5.69-bk19 sonypi irq 11: nobody cared!

irq 11: nobody cared!

Call Trace:
 [<c010cb90>] handle_IRQ_event+0x90/0x100
 [<c010cdd1>] do_IRQ+0x91/0x120
 [<c790f9c0>] +0x0/0x18 [sonypi]
 [<c790f9ec>] sonypi_type1_irq_list+0x0/0x10 [sonypi]
 [<c010b388>] common_interrupt+0x18/0x20
 [<c790f9c0>] +0x0/0x18 [sonypi]
 [<c790f9ec>] sonypi_type1_irq_list+0x0/0x10 [sonypi]
 [<c790c409>] sonypi_call2+0x29/0xf0 [sonypi]
 [<c790d54e>] sonypi_probe+0x13e/0x460 [sonypi]
 [<c790da96>] +0x2a/0xb4 [sonypi]
 [<c790c8d0>] sonypi_irq+0x0/0x2a0 [sonypi]
 [<c790fd00>] +0x0/0x200 [sonypi]
 [<c030206f>] pci_find_device+0x2f/0x40
 [<c790fd00>] +0x0/0x200 [sonypi]
 [<c78fe030>] +0x30/0x3b [sonypi]
 [<c013509f>] sys_init_module+0xff/0x210
 [<c790fd00>] +0x0/0x200 [sonypi]
 [<c010b21b>] syscall_call+0x7/0xb

handlers:
[<c790c8d0>] (sonypi_irq+0x0/0x2a0 [sonypi])
sonypi: Sony Programmable I/O Controller Driver v1.18.
sonypi: detected type1 model, verbose = 0, fnkeyinit = off, camera =
off, compat = off, ma
sk = 0xffffffff, useinput = on
sonypi: enabled at irq=11, port1=0x10c0, port2=0x10c4
sonypi: device allocated minor is 63
irq 11: nobody cared!
Call Trace:
 [<c010cb90>] handle_IRQ_event+0x90/0x100
 [<c010cdd1>] do_IRQ+0x91/0x120
 [<c0105000>] _stext+0x0/0x60
 [<c010b388>] common_interrupt+0x18/0x20
 [<c0105000>] _stext+0x0/0x60
 [<c0320014>] acpi_processor_idle+0xd4/0x1d0
 [<c031ff40>] acpi_processor_idle+0x0/0x1d0
 [<c031ff40>] acpi_processor_idle+0x0/0x1d0
 [<c0105000>] _stext+0x0/0x60
 [<c01090e9>] cpu_idle+0x39/0x50
 [<c066c718>] start_kernel+0x148/0x150
 [<c066c480>] unknown_bootoption+0x0/0x120

handlers:
[<c790c8d0>] (sonypi_irq+0x0/0x2a0 [sonypi])
Sony VAIO Jog Dial installed.
Linux video capture interface: v1.00
meye: using 2 buffers with 600k (1200k total) for capture
meye: Motion Eye Camera Driver v1.6.
meye: mchip KL5A72002 rev. 1, base fc00d800, irq 9

but they seem to work fine :]

--

K4 labs

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Strip ctrl char from file?

3. 2.5.69-bk19 "make" messages much less informative

4. OBSD 3.0 Install Problem

5. OUPS 2.5.69-bk19 coda-inode.c/slab.c

6. Pine's datagram connections??? HELP!

7. OSDL DBT-2 AS vs. Deadline 2.5.69-mm3 2.5.69-mm2

8. kde password

9. 2.5.69 - Nothing gets installed in /lib/modules/2.5.69/kernel

10. USB mouse freezes under X - 2.5.69 and 2.5.69-mm*

11. [2.5.69] kexec for 2.5.69 available

12. Problems with IDE CF in 2.5.69, 2.5.69-bk13

13. Compilation Error : 2.5.69