To build: 1. ./mkbuildtree NB. You can override paths to Xen sources and XenLinux sources via the XEN and XL environment variable. 2. make -C /path/to/kernel/source M=$PWD modules NB. The kernel sources here are your native kernel build tree, not the XenLinux sources referred to in step 1. You get four modules, xen-platform-pci.ko, xenbus.ko, xen-vbd.ko, and xen-vnif.ko. Load xen-platform-pci first, then xenbus, and then whichever of xen-vbd and xen-vnif you happen to need. it' href='ssh://git@git.panaceas.org/git/openwrt/upstream' title='openwrt/upstream Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/patches/002-kernel-2.6.34-compat.patch
blob: 5cd8129f80ca97ccd10552aae730564bdced6df0 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/ramzswap_drv.c
+++ b/ramzswap_drv.c
@@ -23,6 +23,7 @@
 #include <linux/device.h>
 #include <linux/genhd.h>
 #include <linux/highmem.h>
+#include <linux/slab.h>
 #include <linux/string.h>
 #include <linux/swap.h>
 #include <linux/swapops.h>