From: tigerand@gmail.com
To: linux-mips@linux-mips.org
Subject: [PATCH] try#2 Fix non-SMP build Sibyte 1250 SOC, kernel linux-mips.git master
Date: Fri, 9 Feb 2007 17:35:28 -0800 [thread overview]
Message-ID: <20070210013521.GA13917@onstor.com> (raw)
Try #2, sorry, first patch was reversed.
Fix build of non-SMP for Sibyte 1250 SOC
Signed-off-by: Andrew Sharp <tigerand@gmail.com>
diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c
index 3a8afd4..9ea460b 100644
--- a/arch/mips/mm/c-sb1.c
+++ b/arch/mips/mm/c-sb1.c
@@ -259,6 +259,12 @@ static void sb1_flush_cache_data_page(unsigned long addr)
on_each_cpu(sb1_flush_cache_data_page_ipi, (void *) addr, 1, 1);
}
#else
+
+static void local_sb1_flush_cache_data_page(unsigned long addr)
+{
+ __sb1_writeback_inv_dcache_range(addr, addr + PAGE_SIZE);
+}
+
void sb1_flush_cache_data_page(unsigned long)
__attribute__((alias("local_sb1_flush_cache_data_page")));
#endif
next reply other threads:[~2007-02-10 1:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-10 1:35 tigerand [this message]
2007-02-13 15:54 ` [PATCH] try#2 Fix non-SMP build Sibyte 1250 SOC, kernel linux-mips.git master Ralf Baechle
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=20070210013521.GA13917@onstor.com \
--to=tigerand@gmail.com \
--cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.