[parisc-linux-cvs] arch/parisc/mm : extable.c
Helge Deller
deller@gmx.de
Sun, 12 Jan 2003 01:18:20 +0100
--Boundary-00=_MRLI+BbXoVsLdPG
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Sunday 12 January 2003 01:19, Helge Deller wrote:
> CVSROOT: /var/cvs
> Module name: linux-2.5
> Changes by: deller 03/01/11 17:19:39
>
> Modified files:
> arch/parisc/mm : extable.c
>
> Log message:
> fix build
Let's see if this is right..... :-)
--Boundary-00=_MRLI+BbXoVsLdPG
Content-Type: text/plain;
charset="iso-8859-1";
name="diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="diff"
Index: extable.c
===================================================================
RCS file: /var/cvs/linux-2.5/arch/parisc/mm/extable.c,v
retrieving revision 1.4
diff -u -p -r1.4 extable.c
--- extable.c 29 Nov 2002 16:58:20 -0000 1.4
+++ extable.c 12 Jan 2003 00:19:15 -0000
@@ -15,10 +15,10 @@
extern const struct exception_table_entry __start___ex_table[];
extern const struct exception_table_entry __stop___ex_table[];
-static inline const struct exception_table_entry *
-search_one_table (const struct exception_table_entry *first,
- const struct exception_table_entry *last,
- unsigned long addr)
+const struct exception_table_entry *
+search_extable(const struct exception_table_entry *first,
+ const struct exception_table_entry *last,
+ unsigned long addr)
{
/* Abort early if the search value is out of range. */
@@ -50,7 +50,7 @@ search_exception_table (unsigned long ad
#ifndef CONFIG_MODULES
/* There is only the kernel to search. */
- ret = search_one_table(__start___ex_table, __stop___ex_table-1, addr);
+ ret = search_extable(__start___ex_table, __stop___ex_table-1, addr);
return ret;
#else
unsigned long flags;
@@ -63,7 +63,7 @@ search_exception_table (unsigned long ad
= list_entry(i, struct exception_table, list);
if (ex->num_entries == 0)
continue;
- ret = search_one_table(ex->entry,
+ ret = search_extable(ex->entry,
ex->entry + ex->num_entries - 1, addr);
if (ret)
break;
@@ -72,3 +72,4 @@ search_exception_table (unsigned long ad
return ret;
#endif
}
+
--Boundary-00=_MRLI+BbXoVsLdPG--