Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Fri, 18 Jan 2008 12:02:52 +0100
* Michael Opdenacker <michael-lists@xxxxxxxxxxxxxxxxxx> wrote:
obj-$(CONFIG_PARAVIRT) += paravirt_32.o
-obj-y += pcspeaker.o
-
obj-$(CONFIG_SCx200) += scx200_32.o
+ifdef CONFIG_INPUT_PCSPKR
+ obj-y += pcspeaker.o
+endif
why didnt you make this:
obj-$(CONFIG_INPUT_PCSPKR) += pcspeaker.o
?
Your patch looks fine to me otherwise, obviously if someone disables
PCSPKR intentionally in the .config, the kernel should just do that.
Could you resend it with the above thing fixed, and against x86.git#mm?
The x86.git coordinates are at:
http://redhat.com/~mingo/x86.git/README
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling
- From: Michael Opdenacker
- Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling
- References:
- [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
- From: Michael Opdenacker
- Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
- From: Michael Opdenacker
- Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
- From: Matt Mackall
- Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
- From: Michael Opdenacker
- [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
- Prev by Date: [PATCH 004 of 4] md: Fix an occasional deadlock in raid5 - FIX
- Next by Date: [PATCH 003 of 4] md: Change ITERATE_RDEV_GENERIC to rdev_for_each_list, and remove ITERATE_RDEV_PENDING.
- Previous by thread: Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
- Next by thread: Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling
- Index(es):
Relevant Pages
|
|