summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_qbman
diff options
context:
space:
mode:
authorGeoff Thorpe <Geoff.Thorpe@freescale.com>2013-05-09 13:24:51 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-05-10 17:14:08 (GMT)
commitdf06d0be5ac9d53e6ffcdfbeaf557ca26287b245 (patch)
tree39eff50231f8eaf6a59c7c682ad56db088582c8c /drivers/staging/fsl_qbman
parent63dede4a7f129000a893d7cb2fde9a336a8290d3 (diff)
downloadlinux-fsl-qoriq-df06d0be5ac9d53e6ffcdfbeaf557ca26287b245.tar.xz
fsl_qbman: fix the non-SMP build
The <linux/smp.h> header only includes <asm/smp.h> if CONFIG_SMP is defined, yet it is required in the non-SMP case too. Signed-off-by: Geoff Thorpe <Geoff.Thorpe@freescale.com> Change-Id: I0644bca53a0afeb3eb331956f7e4b20959f2a3d6 Reviewed-on: http://git.am.freescale.net:8181/2419 Reviewed-by: Wood Scott-B07421 <scottwood@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_qbman')
-rw-r--r--drivers/staging/fsl_qbman/qman_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/fsl_qbman/qman_driver.c b/drivers/staging/fsl_qbman/qman_driver.c
index 001eb6e..4c9f6c6 100644
--- a/drivers/staging/fsl_qbman/qman_driver.c
+++ b/drivers/staging/fsl_qbman/qman_driver.c
@@ -32,6 +32,7 @@
#include "qman_private.h"
#include <linux/iommu.h>
+#include <asm/smp.h> /* hard_smp_processor_id() if !CONFIG_SMP */
/* Global variable containing revision id (even on non-control plane systems
* where CCSR isn't available) */