diff options
author | Guillem Jover <guillem@debian.org> | 2004-10-25 08:29:40 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2004-10-25 08:29:40 +0000 |
commit | c42b424e5414158c5844aba0051b2aed1e9feb72 (patch) | |
tree | 33b3f2081311bd8cad197034ccd3902d14f62404 /debian/patches | |
parent | e6423c4057ae3596777718233ec9165872990ea2 (diff) |
* linux/dev/include/linux/malloc.h: Include <asm/cache.h>.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/11_nic_update.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/11_nic_update.patch b/debian/patches/11_nic_update.patch index b0de89d..211897b 100644 --- a/debian/patches/11_nic_update.patch +++ b/debian/patches/11_nic_update.patch @@ -8,6 +8,7 @@ starfire, sundance, winbond840, hamachi, natsemi, myson803 and ns820 driver declarations. s/INTER_GIGE/INTEL_GIGE/. * linux/src/include/asm-i386/cache.h: New file from linux 2.2.26. + * linux/dev/include/linux/malloc.h: Include <asm/cache.h>. * linux/dev/drivers/net/ns820.c (netsami_drv_id): Renamed to ... (ns820_drv_id): ... this. Fix all callers. * linux/dev/drivers/net/intel-gige.c (skel_netdev_probe): Renamed to ... @@ -37749,3 +37750,14 @@ diff -Naur linux/src/include/asm-i386/cache.h linux/src/include/asm-i386/cache.h +#define SMP_CACHE_BYTES L1_CACHE_BYTES + +#endif +diff -Naur linux/dev/include/linux/malloc.h linux/dev/include/linux/malloc.h +--- linux/dev/include/linux/malloc.h 2004-10-25 10:14:02.000000000 +0200 ++++ linux/dev/include/linux/malloc.h 2004-10-25 10:13:13.000000000 +0200 +@@ -2,6 +2,7 @@ + #define _LINUX_MALLOC_H + + #include <linux/mm.h> ++#include <asm/cache.h> + + #ifndef MACH_INCLUDE + #define kmalloc linux_kmalloc |