Skip to contentSkip to conversation

external module: remove define for MAX_IO_APICS

PATCH Applied Carlo Marcelo Arenas Belon 2 participants 2 messages Dec 26, 2007 – Dec 30, 2007 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 external module: remove define for MAX_IO_APICS

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

---
 kernel/external-module-compat.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
kernel/external-module-compat.h +0 -5
index 1b9d7bb..63d3fc5 100644
@@ -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>
Signature · 7 lines
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/
Applied
#1 lore raw
Quoted 6 lines · Carlo Marcelo Arenas Belon

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

Applied, thanks.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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/