lkml.org 
[lkml]   [2010]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC patch] extable and module add object is static
Mathieu Desnoyers wrote:
> +static int core_object_is_static(void *obj)
> +{
[...]
> + if (addr >= (unsigned long)__per_cpu_start &&
> + addr <= (unsigned long)__per_cpu_end)
> + return 1;

This may only correct for UP.
You may need arch-special codes for SMP.



\
 
 \ /
  Last update: 2010-03-29 03:43    [from the cache]
©2003-2011 Jasper Spaans