public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Kill a warning if !CONFIG_SMP
@ 2003-08-05  1:46 Peter Chubb
  0 siblings, 0 replies; only message in thread
From: Peter Chubb @ 2003-08-05  1:46 UTC (permalink / raw)
  To: linux-ia64


Hi,
	This kills a compilation warning if CONFIG_SMP is *not*
defined.


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1609  -> 1.1610 
#	include/asm-ia64/percpu.h	1.11    -> 1.12   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/05	peterc@gelato.unsw.edu.au	1.1610
# Kill warning: setup_per_cpu_areas defined differently in 
# different places if !CONFIG_SMP.
# --------------------------------------------
#
diff -Nru a/include/asm-ia64/percpu.h b/include/asm-ia64/percpu.h
--- a/include/asm-ia64/percpu.h	Tue Aug  5 11:45:34 2003
+++ b/include/asm-ia64/percpu.h	Tue Aug  5 11:45:34 2003
@@ -45,6 +45,7 @@
 #define __get_cpu_var(var) (*RELOC_HIDE(&per_cpu__##var, __ia64_per_cpu_var(local_per_cpu_offset)))
 
 extern void percpu_modcopy(void *pcpudst, const void *src, unsigned long size);
+extern void setup_per_cpu_areas (void);
 
 #else /* ! SMP */
 
@@ -55,10 +56,6 @@
 
 #define EXPORT_PER_CPU_SYMBOL(var)		EXPORT_SYMBOL(per_cpu__##var)
 #define EXPORT_PER_CPU_SYMBOL_GPL(var)		EXPORT_SYMBOL_GPL(per_cpu__##var)
-
-/* ia64-specific part: */
-
-extern void setup_per_cpu_areas (void);
 
 /*
  * Be extremely careful when taking the address of this variable!  Due to virtual

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-05  1:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-05  1:46 Kill a warning if !CONFIG_SMP Peter Chubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox