summaryrefslogtreecommitdiff
path: root/drivers/serial/crisv10.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-08-31 18:20:30 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2009-08-31 18:38:16 +0200
commita090ca2c840a3459642971f26bdbad96d2482e32 (patch)
treee5aa216c2e8e6fff84a037fe548441b5f7f5af35 /drivers/serial/crisv10.c
parentd8fb91e8344ff11381fc47d43e0b234065be4bd0 (diff)
downloadlinux-stable-a090ca2c840a3459642971f26bdbad96d2482e32.tar.gz
linux-stable-a090ca2c840a3459642971f26bdbad96d2482e32.tar.bz2
linux-stable-a090ca2c840a3459642971f26bdbad96d2482e32.zip
CRIS: fix defconfig build failure
The CRIS defconfig fails to build with: drivers/serial/crisv10.c: In function 'rs_wait_until_sent': drivers/serial/crisv10.c:3926: error: implicit declaration of function 'lock_kernel' drivers/serial/crisv10.c:3943: error: implicit declaration of function 'unlock_kernel' Include smp_lock.h. LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'drivers/serial/crisv10.c')
-rw-r--r--drivers/serial/crisv10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
index 7be52fe288eb..31f172397af3 100644
--- a/drivers/serial/crisv10.c
+++ b/drivers/serial/crisv10.c
@@ -18,6 +18,7 @@ static char *serial_version = "$Revision: 1.25 $";
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/major.h>
+#include <linux/smp_lock.h>
#include <linux/string.h>
#include <linux/fcntl.h>
#include <linux/mm.h>