Commit be0efd4a authored by Alessandro Rubini's avatar Alessandro Rubini

kernel patches: renamed fiq patch

parent 942d907f
From 7008c0d8fe3224ea533c2634f8bdc34fe8dc1e5b Mon Sep 17 00:00:00 2001 From 4815f7ca121792b349d780fe099d1352329a1177 Mon Sep 17 00:00:00 2001
From: Alessandro Rubini <rubini@unipv.it> From: Alessandro Rubini <rubini@unipv.it>
Date: Wed, 27 May 2009 00:44:01 +0200 Date: Wed, 27 May 2009 00:44:01 +0200
Subject: [PATCH] arm fiq: allow modules to exploit the fiq mechanism Subject: [PATCH 6/7] arm fiq: allow modules to exploit the fiq mechanism
This patch exports "fiq_userptr" so that a module can hook to the fiq This patch exports "fiq_userptr" so that a module can hook to the fiq
handler. This mechanism is used by my "fiq-engine" external package handler. This mechanism is used by my "fiq-engine" external package
...@@ -18,7 +18,7 @@ be managed in fiq mode. Unfortunately, it's #fidef CONFIG_ARM in vmalloc.c ...@@ -18,7 +18,7 @@ be managed in fiq mode. Unfortunately, it's #fidef CONFIG_ARM in vmalloc.c
3 files changed, 66 insertions(+), 1 deletions(-) 3 files changed, 66 insertions(+), 1 deletions(-)
diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c diff --git a/arch/arm/kernel/armksyms.c b/arch/arm/kernel/armksyms.c
index e5e1e53..db1b872 100644 index acca35a..667e836 100644
--- a/arch/arm/kernel/armksyms.c --- a/arch/arm/kernel/armksyms.c
+++ b/arch/arm/kernel/armksyms.c +++ b/arch/arm/kernel/armksyms.c
@@ -49,6 +49,12 @@ extern void __aeabi_ulcmp(void); @@ -49,6 +49,12 @@ extern void __aeabi_ulcmp(void);
...@@ -35,10 +35,10 @@ index e5e1e53..db1b872 100644 ...@@ -35,10 +35,10 @@ index e5e1e53..db1b872 100644
EXPORT_SYMBOL(__backtrace); EXPORT_SYMBOL(__backtrace);
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index bb96a7d..5692cbb 100644 index e8d8856..9a7b4c8 100644
--- a/arch/arm/kernel/entry-armv.S --- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S
@@ -1193,9 +1193,31 @@ __stubs_start: @@ -1178,9 +1178,31 @@ __stubs_start:
* other mode than FIQ... Ok you can switch to another mode, but you can't * other mode than FIQ... Ok you can switch to another mode, but you can't
* get out of that mode without clobbering one register. * get out of that mode without clobbering one register.
*/ */
...@@ -72,10 +72,10 @@ index bb96a7d..5692cbb 100644 ...@@ -72,10 +72,10 @@ index bb96a7d..5692cbb 100644
/*============================================================================= /*=============================================================================
* Address exception handler * Address exception handler
diff --git a/mm/vmalloc.c b/mm/vmalloc.c diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index eb5cc7d..aec65f2 100644 index 5d60302..536c2d6 100644
--- a/mm/vmalloc.c --- a/mm/vmalloc.c
+++ b/mm/vmalloc.c +++ b/mm/vmalloc.c
@@ -1205,6 +1205,43 @@ int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) @@ -1258,6 +1258,43 @@ int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
err = 0; err = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment