pci: fix compilation when CONFIG_PCI_MSI=n
(2010/06/16 13:51), Rusty Russell wrote: drivers/pci/pci.c:2277: error: redefinition of 'pci_msi_off' include/linux/pci.h:786: note: previous definition of 'pci_msi_off' was here Signed-off-by: Rusty Russell <rusty(a)rustcorp.com.au> --- drivers/pci/pci.c | 2 ++ 1 file changed, 2 insertions(+) ... 19 Jul 2010 06:59
Use lmb with x86
On Tuesday, June 15, 2010, Yinghai Lu <yinghai(a)kernel.org> wrote: �46 files changed, 1476 insertions(+), 1282 deletions(-) So what was the advantage again? It's adding more lines than it removes. Wasn't the point to simplify things, not make them bigger? Linus -- To unsubscribe from this list: send... 29 Jun 2010 15:11
[PATCH 22/37] x86: Remove not used early_res code
and some functions in e820.c that are not used anymore Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/include/asm/e820.h | 14 - arch/x86/kernel/e820.c | 52 ---- include/linux/early_res.h | 23 -- kernel/early_res.c | 584 ------------------------------------------- 4 file... 16 Jun 2010 02:22
[PATCH 35/37] x86: Change e820_any_mapped() to __init
We don't need to expose e820_any_mapped() anymore Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/e820.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index baa38df..f338b3b 100644 --- a/arch/x86/kernel/e820.c ... 16 Jun 2010 02:22
[PATCH 06/37] lmb: Add ARCH_DISCARD_LMB to put lmb code to .init
So those lmb bits could be released after kernel is booted up. Arch code could define ARCH_DISCARD_LMB in asm/lmb.h, __init_lmb will become __init, __initdata_lmb will becom __initdata x86 code will use that. if ARCH_DISCARD_LMB is defined, debugfs is not used -v2: use ARCH_DISCARD_LMB according to Michael... 16 Jun 2010 02:22
[PATCH 05/37] lmb: Prepare to include linux/lmb.h in core file
Need to add protection in linux/lmb.h, to prepare to include it in mm/page_alloc.c and mm/bootmem.c etc. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/lmb.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/lmb.h b/include/linux/lmb.h index eb8a5a3..... 16 Jun 2010 02:22
[PATCH 07/37] lmb: Add lmb_find_in_range()
it is a wrapper for lmb_find_base make it more easy for x86 to use lmb. ( rebase ) x86 early_res is using find/reserve pattern instead of alloc. keep it in weak version, so later We can use x86 own version if needed. also We need it in lib/lmb.c, so one caller mm/page_alloc.c could get compiled -v2: Change n... 16 Jun 2010 02:22
[PATCH 36/37] x86: Use walk_system_ream_range() instead of referring e820.map directly for tboot
So we can make e820 to be __initdata Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/tboot.c | 22 +++++++++------------- 1 files changed, 9 insertions(+), 13 deletions(-) diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c index c2f1b26..20b9531 100644 --- a/arch/x86/kernel/... 16 Jun 2010 02:22
[PATCH 31/37] x86: Change e820_saved to __initdata
for 2.6.34 Add save_e820_map() and change e820_saved to static also make it to be __initdata to get some bytes memory back. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/include/asm/e820.h | 2 +- arch/x86/kernel/e820.c | 9 +++++++-- arch/x86/kernel/setup.c | 2 +- 3 files ... 16 Jun 2010 02:22
[PATCH 32/37] x86: Align e820 ram range to page
for 2.6.34 To workaround wrong BIOS memory map. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/e820.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 63b46ac..025e1... 16 Jun 2010 02:22