diff mbox

parisc: decode_exc.c should include kernel.h

Message ID a4423d670904060229l650519e8we17578f4b439a1cb@mail.gmail.com (mailing list archive)
State Accepted
Delegated to: kyle mcmartin
Headers show

Commit Message

Alexander Beregalov April 6, 2009, 9:29 a.m. UTC
Fix this build error:
arch/parisc/math-emu/decode_exc.c:351: undefined reference to `printk'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 arch/parisc/math-emu/decode_exc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

kyle mcmartin April 13, 2009, 2:44 p.m. UTC | #1
On Mon, Apr 06, 2009 at 01:29:58PM +0400, Alexander Beregalov wrote:
> Fix this build error:
> arch/parisc/math-emu/decode_exc.c:351: undefined reference to `printk'
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
>

Thanks, applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/parisc/math-emu/decode_exc.c
b/arch/parisc/math-emu/decode_exc.c
index 66c8a9f..3ca1c61 100644
--- a/arch/parisc/math-emu/decode_exc.c
+++ b/arch/parisc/math-emu/decode_exc.c
@@ -40,7 +40,7 @@ 
  * END_DESC
 */

-
+#include <linux/kernel.h>
 #include "float.h"
 #include "sgl_float.h"
 #include "dbl_float.h"