public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] external module: remove define for MAX_IO_APICS
@ 2007-12-26  7:18 Carlo Marcelo Arenas Belon
  2007-12-30 12:32 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-26  7:18 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This reverts commit a2c1905ff7c6faf9253d4185952a5b85036114f7.

It was made obsolete by 3f5daaafad51a2b75171c2a93a28cc55ce205cae
and would redefine MAX_IO_APIC to a smaller value in amd64 that
the one used by <asm/apicdef.h> for non SMP kernels > 2.6.21

Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
 kernel/external-module-compat.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 1b9d7bb..63d3fc5 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -566,11 +566,6 @@ static inline void blahblah(void)
 
 #endif
 
-/* apicdef.h doesn't get included before 2.6.21 if non-smp */
-#ifndef MAX_IO_APICS
-#define MAX_IO_APICS 64
-#endif
-
 /* X86_FEATURE_NX is missing in some x86_64 kernels */
 
 #include <asm/cpufeature.h>
-- 
1.5.2.5


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-30 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-26  7:18 [PATCH] external module: remove define for MAX_IO_APICS Carlo Marcelo Arenas Belon
2007-12-30 12:32 ` Avi Kivity

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