> +#define alternative_smp(smpinstr, upinstr) asm(upinstr, ##input) this wouldn't build with CONFIG_SMP=n -- you forgot the input param here. also, given this: > + BUG_ON(a->replacementlen > a->instrlen); is there any way to at least catch it at compile time if the UP alternative ends up longer than the SMP alternative? - R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- References:
- [PATCH 1/10] Cr4 is valid on some 486s
- From: Zachary Amsden <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Pavel Machek <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Zachary Amsden <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Zachary Amsden <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Dave Jones <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- Re: [PATCH 1/10] Cr4 is valid on some 486s
- From: Gerd Knorr <[email protected]>
- [PATCH 1/10] Cr4 is valid on some 486s
- Prev by Date: Re: [RFC][Patch 0/4] Per-task delay accounting
- Next by Date: Re: [PATCH 1/10] Cr4 is valid on some 486s
- Previous by thread: Re: [PATCH 1/10] Cr4 is valid on some 486s
- Next by thread: Re: [PATCH 1/10] Cr4 is valid on some 486s
- Index(es):