Received: from mail.onstor.com ([66.201.51.107]) by onstor-exch02.onstor.net with Microsoft SMTPSVC(6.0.3790.1830);
	 Fri, 9 Feb 2007 17:28:19 -0800
Received: from ftp.linux-mips.org ([194.74.144.162]) by mail.onstor.com with Microsoft SMTPSVC(6.0.3790.1830);
	 Fri, 9 Feb 2007 17:28:19 -0800
Received: from localhost.localdomain ([127.0.0.1]:58568 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP
	id S20039655AbXBJB1y (ORCPT <rfc822;dan.stein@onstor.com> + 1 other);
	Sat, 10 Feb 2007 01:27:54 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Sat, 10 Feb 2007 01:27:31 +0000 (GMT)
Received: from [66.201.51.66] ([66.201.51.66]:19735 "EHLO ripper.onstor.net")
	by ftp.linux-mips.org with ESMTP id S20039654AbXBJB10 (ORCPT
	<rfc822;linux-mips@linux-mips.org>); Sat, 10 Feb 2007 01:27:26 +0000
Received: from andys by ripper.onstor.net with local (Exim 4.63)
	(envelope-from <andy.sharp@onstor.com>)
	id 1HFgyJ-0003al-5a
	for linux-mips@linux-mips.org; Fri, 09 Feb 2007 17:24:11 -0800
Date:	Fri, 9 Feb 2007 17:24:11 -0800
From:	tigerand@gmail.com
To:	linux-mips@linux-mips.org
Subject: [PATCH] Fix non-SMP build Sibyte 1250 SOC, kernel linux-mips.git master
Message-ID: <20070210012404.GA13779@onstor.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.13 (2006-08-11)
X-archive-position: 14018
X-ecartis-version: Ecartis v1.0.0
Sender:	linux-mips-bounce@linux-mips.org
Errors-to: linux-mips-bounce@linux-mips.org
X-original-sender: tigerand@gmail.com
Precedence: bulk
X-list:	linux-mips
Return-Path: linux-mips-bounce@linux-mips.org
X-OriginalArrivalTime: 10 Feb 2007 01:28:19.0592 (UTC) FILETIME=[BF039080:01C74CB2]

	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 9ea460b..3a8afd4 100644
--- a/arch/mips/mm/c-sb1.c
+++ b/arch/mips/mm/c-sb1.c
@@ -259,12 +259,6 @@ 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

