| Message ID | 1540258332-15520-1-git-send-email-tyreld@linux.vnet.ibm.com (mailing list archive) |
|---|---|
| State | Accepted |
| Commit | 8dce6b2215eaa91dbf04463e11098a48748da5ab |
| Headers | show |
| Series | powerpc/pseries: add missing cpumask.h include file | expand |
| Context | Check | Description |
|---|---|---|
| snowpatch_ozlabs/apply_patch | success | next/apply_patch Successfully applied |
| snowpatch_ozlabs/checkpatch | success | Test checkpatch on branch next |
| snowpatch_ozlabs/build-ppc64le | success | Test build-ppc64le on branch next |
| snowpatch_ozlabs/build-ppc64be | success | Test build-ppc64be on branch next |
| snowpatch_ozlabs/build-ppc64e | success | Test build-ppc64e on branch next |
| snowpatch_ozlabs/build-ppc32 | success | Test build-ppc32 on branch next |
On Tue, 2018-10-23 at 01:32:12 UTC, Tyrel Datwyler wrote: > Build error is encountered when inlcuding <asm/rtas.h> if no explicit or > implicit include of cpumask.h exists in the including file. > > In file included from arch/powerpc/platforms/pseries/hotplug-pci.c:3:0: > ./arch/powerpc/include/asm/rtas.h:360:34: error: unknown type name 'cpumask_var_t' > extern int rtas_online_cpus_mask(cpumask_var_t cpus); > ^ > ./arch/powerpc/include/asm/rtas.h:361:35: error: unknown type name 'cpumask_var_t' > extern int rtas_offline_cpus_mask(cpumask_var_t cpus); > > Fixes: 120496ac2d2d ("powerpc: Bring all threads online prior to migration/hibernation") > Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/8dce6b2215eaa91dbf04463e11098a cheers
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h index 71e393c..06b8dd3 100644 --- a/arch/powerpc/include/asm/rtas.h +++ b/arch/powerpc/include/asm/rtas.h @@ -5,6 +5,7 @@ #include <linux/spinlock.h> #include <asm/page.h> #include <linux/time.h> +#include <linux/cpumask.h> /* * Definitions for talking to the RTAS on CHRP machines.
Build error is encountered when inlcuding <asm/rtas.h> if no explicit or implicit include of cpumask.h exists in the including file. In file included from arch/powerpc/platforms/pseries/hotplug-pci.c:3:0: ./arch/powerpc/include/asm/rtas.h:360:34: error: unknown type name 'cpumask_var_t' extern int rtas_online_cpus_mask(cpumask_var_t cpus); ^ ./arch/powerpc/include/asm/rtas.h:361:35: error: unknown type name 'cpumask_var_t' extern int rtas_offline_cpus_mask(cpumask_var_t cpus); Fixes: 120496ac2d2d ("powerpc: Bring all threads online prior to migration/hibernation") Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com> --- arch/powerpc/include/asm/rtas.h | 1 + 1 file changed, 1 insertion(+)