]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: mxs: include asm/processor.h for cpu_relax()
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 25 May 2011 09:34:57 +0000 (11:34 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 29 Jun 2011 20:24:52 +0000 (22:24 +0200)
commit6738346545f7b930e7a253d354367a212d144708
treefb1a2ae697c59f80015ff41cc4a4ef4f4e0aa0e0
parent26c110b55416a5a5e901bc7eb718997ca2e96cd0
arm: mxs: include asm/processor.h for cpu_relax()

I get this build error as of today:

arch/arm/mach-mxs/ocotp.c: In function 'mxs_get_ocotp':
arch/arm/mach-mxs/ocotp.c:54: error: implicit declaration of function 'cpu_relax'
make[2]: *** [arch/arm/mach-mxs/ocotp.o] Error 1

Looks like it has been indirectly included before which broke now.
Include it directly.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/ocotp.c