From: Peter Huewe <PeterHuewe@gmx.de>
To: Paul Mundt <lethal@linux-sh.org>
Cc: Matt Fleming <matt@console-pimps.org>,
Francesco Virlinzi <francesco.virlinzi@st.com>,
linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
peterhuewe@gmx.de
Subject: [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include
Date: Mon, 18 Jan 2010 02:57:31 +0000 [thread overview]
Message-ID: <201001180357.31594.PeterHuewe@gmx.de> (raw)
From: Peter Huewe <peterhuewe@gmx.de>
Date: Mon, 18 Jan 2010 03:48:31 +0100
This patch fixes a build failure[1][2] for all sh configs, by fixing a
missing semicolon and a missing include file.
Build failure was introduced by the patch
sh: fixed PMB mode refactoring [3]
of Wed, 13 Jan 2010 09:31:48 +0000 (18:31 +0900)
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/2019836/
[2] http://kisskb.ellerman.id.au/kisskb/compiler/16/
[3] http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h ab36689a36e583b6e736f1c99ac8c9aebdad59
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
Patch against linux-next tree of 20100114
KernelVersion: next-20100114
arch/sh/include/asm/mmu.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h
index 4b0882b..c5313e2 100644
--- a/arch/sh/include/asm/mmu.h
+++ b/arch/sh/include/asm/mmu.h
@@ -1,5 +1,6 @@
#ifndef __MMU_H
#define __MMU_H
+#include <linux/errno.h>
/*
* Privileged Space Mapping Buffer (PMB) definitions
@@ -75,7 +76,7 @@ int pmb_init(void);
static inline long pmb_remap(unsigned long virt, unsigned long phys,
unsigned long size, unsigned long flags)
{
- return -EINVAL
+ return -EINVAL;
}
static inline void pmb_unmap(unsigned long addr)
--
1.6.4.4
next reply other threads:[~2010-01-18 2:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 2:57 Peter Huewe [this message]
2010-01-18 4:02 ` [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include Paul Mundt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201001180357.31594.PeterHuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=francesco.virlinzi@st.com \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=matt@console-pimps.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).