[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364206: linux-source-2.6.16: 2.6.16.6 patch to arch/alpha/kernel/setup.c references "for_each_possible_cpu"



Package: linux-source-2.6.16
Version: 2.6.16-9
Severity: important
Tags: patch
Justification: fails to build from source

The 2.6.16.6 patch contains a reference to "for_each_possible_cpu",
which is not present until 2.6.17.  It should be replaced with
"for_each_cpu".  This causes the package to fail to build on Alpha.

--- linux-2.6-2.6.16/debian/patches/2.6.16.6.orig       2006-04-21 16:43:38.000000000 -0500
+++ linux-2.6-2.6.16/debian/patches/2.6.16.6    2006-04-21 16:43:54.000000000 -0500
@@ -19,7 +19,7 @@
 +{
 +      int i;
 +
-+      for_each_possible_cpu(i) {
++      for_each_cpu(i) {
 +              struct cpu *p = kzalloc(sizeof(*p), GFP_KERNEL);
 +              if (!p)
 +                      return -ENOMEM;

-- System Information:
Debian Release: 3.1
Architecture: alpha
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-generic
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-source-2.6.16 depends on:
ii  binutils                      2.15-6     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-7    high-quality block-sorting file co

-- no debconf information



Reply to: