[PATCH] fix iptables on systems with discontiguous processor ids
seb at frankengul.org
seb at frankengul.org
Wed Oct 12 08:22:18 CEST 2005
On Tue, Oct 11, 2005 at 03:32:57PM -0700, David S. Miller wrote:
> From: Sébastien Bernard <seb at frankengul.org>
> Date: Tue, 11 Oct 2005 23:54:13 +0200
>
> > On sparc64, cpu_possible_map does not exist.
>
> Yes, it does, although indirectly. Otherwise for_each_cpu() would be
> horrible broken and never allow building sparc64 SMP kernels :-)
>
> It's defined in kernel/sched.c for non-SMP and defined to
> phys_cpu_present_map when SMP.
>
> Did you try to build his patch and it actually failed? If so, please
> post the build failure instead of speculation about why it failed so
> that this can be properly analyzed :-)
>
It is no speculation.
After building, the modules_install reports the symbol undefined.
Well, I see now that it is only a lack of EXPORT_SYMBOL.
I was checking other arch.
All smp arch used cpu_online_map and cpu_possible_map but sparc which
used phys_cpu_present_map (a specificity of the sparc port I presume).
Anyway, it's on its way now.
Seb
More information about the netfilter-devel
mailing list