mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-12 19:20:28 +03:00
Add the minimal set of kernel patches need to for the SPL. Hopefully
even these will not be needed over the next few weeks. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@121 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
parent
f93f7c8dbe
commit
fe81cb1c43
13
patches/16kstack-x86_64.patch
Normal file
13
patches/16kstack-x86_64.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: linux+rh+chaos/include/asm-x86_64/page.h
|
||||
===================================================================
|
||||
--- linux+rh+chaos.orig/include/asm-x86_64/page.h
|
||||
+++ linux+rh+chaos/include/asm-x86_64/page.h
|
||||
@@ -10,7 +10,7 @@
|
||||
#define PAGE_MASK (~(PAGE_SIZE-1))
|
||||
#define PHYSICAL_PAGE_MASK (~(PAGE_SIZE-1) & __PHYSICAL_MASK)
|
||||
|
||||
-#define THREAD_ORDER 1
|
||||
+#define THREAD_ORDER 2
|
||||
#define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER)
|
||||
#define CURRENT_MASK (~(THREAD_SIZE-1))
|
||||
|
12
patches/task-curr-export.patch
Normal file
12
patches/task-curr-export.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: linux+rh+chaos/kernel/sched.c
|
||||
===================================================================
|
||||
--- linux+rh+chaos.orig/kernel/sched.c
|
||||
+++ linux+rh+chaos/kernel/sched.c
|
||||
@@ -1038,6 +1038,7 @@ inline int task_curr(const struct task_s
|
||||
{
|
||||
return cpu_curr(task_cpu(p)) == p;
|
||||
}
|
||||
+EXPORT_SYMBOL(task_curr);
|
||||
|
||||
/* Used instead of source_load when we know the type == 0 */
|
||||
unsigned long weighted_cpuload(const int cpu)
|
Loading…
Reference in New Issue
Block a user