lkml.org 
[lkml]   [2002]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.5.21 "I can't get no compilation"
The subject says it all...

Contrary to other proposed patches I realized that there is
no such thing as vmalloc_dma.
diff -urN linux-2.5.21/drivers/media/video/tda9875.c linux/drivers/media/video/tda9875.c
--- linux-2.5.21/drivers/media/video/tda9875.c 2002-06-09 07:29:29.000000000 +0200
+++ linux/drivers/media/video/tda9875.c 2002-06-09 19:24:06.000000000 +0200
@@ -28,6 +28,7 @@
#include <linux/videodev.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
+#include <linux/init.h>

#include "bttv.h"
#include "audiochip.h"
diff -urN linux-2.5.21/drivers/pnp/pnpbios_proc.c linux/drivers/pnp/pnpbios_proc.c
--- linux-2.5.21/drivers/pnp/pnpbios_proc.c 2002-06-09 07:31:26.000000000 +0200
+++ linux/drivers/pnp/pnpbios_proc.c 2002-06-09 17:57:42.000000000 +0200
@@ -28,6 +28,7 @@
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/pnpbios.h>
+#include <linux/init.h>

static struct proc_dir_entry *proc_pnp = NULL;
static struct proc_dir_entry *proc_pnp_boot = NULL;
diff -urN linux-2.5.21/include/linux/vmalloc.h linux/include/linux/vmalloc.h
--- linux-2.5.21/include/linux/vmalloc.h 2002-06-09 07:31:29.000000000 +0200
+++ linux/include/linux/vmalloc.h 2002-06-09 18:44:41.000000000 +0200
@@ -28,7 +28,6 @@
*/

extern void * vmalloc(unsigned long size);
-extern void * vmalloc_dma(unsigned long size);
extern void * vmalloc_32(unsigned long size);

/*
diff -urN linux-2.5.21/kernel/ksyms.c linux/kernel/ksyms.c
--- linux-2.5.21/kernel/ksyms.c 2002-06-09 07:26:33.000000000 +0200
+++ linux/kernel/ksyms.c 2002-06-09 18:43:30.000000000 +0200
@@ -108,6 +108,8 @@
EXPORT_SYMBOL(kfree);
EXPORT_SYMBOL(vfree);
EXPORT_SYMBOL(__vmalloc);
+EXPORT_SYMBOL(vmalloc);
+EXPORT_SYMBOL(vmalloc_32);
EXPORT_SYMBOL(vmalloc_to_page);
EXPORT_SYMBOL(mem_map);
EXPORT_SYMBOL(remap_page_range);
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.314 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site