The patch titled
paravirt: reorder functions to avoid unspecified behaviour
has been removed from the -mm tree. Its filename was
paravirt-core-paravirt-reorder-functions-to-avoid-unspecified-behaviour.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: paravirt: reorder functions to avoid unspecified behaviour
From: Andy Whitcroft <[EMAIL PROTECTED]>
The paravirt ops introduce a 'weak' attribute onto memory_setup().
Code ordering leads to the following warnings on x86:
arch/i386/kernel/setup.c:651: warning: weak declaration of
`memory_setup' after first use results in unspecified behavior
Move memory_setup() to avoid this.
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
Cc: Rusty Russell <[EMAIL PROTECTED]>
Cc: Chris Wright <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
Cc: Zachary Amsden <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/i386/kernel/setup.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff -puN
arch/i386/kernel/setup.c~paravirt-core-paravirt-reorder-functions-to-avoid-unspecified-behaviour
arch/i386/kernel/setup.c
---
a/arch/i386/kernel/setup.c~paravirt-core-paravirt-reorder-functions-to-avoid-unspecified-behaviour
+++ a/arch/i386/kernel/setup.c
@@ -495,6 +495,12 @@ static void set_mca_bus(int x)
static void set_mca_bus(int x) { }
#endif
+/* Overridden in paravirt.c if CONFIG_PARAVIRT */
+char * __attribute__((weak)) memory_setup(void)
+{
+ return machine_specific_memory_setup();
+}
+
/*
* Determine if we were loaded by an EFI loader. If so, then we have also been
* passed the efi memmap, systab, etc., so we should use these data structures
@@ -647,12 +653,6 @@ void __init setup_arch(char **cmdline_p)
tsc_init();
}
-/* Overridden in paravirt.c if CONFIG_PARAVIRT */
-char * __attribute__((weak)) memory_setup(void)
-{
- return machine_specific_memory_setup();
-}
-
static __init int add_pcspkr(void)
{
struct platform_device *pd;
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-acpi.patch
pci-device-ensure-sysdata-initialised-v2.patch
get-rid-of-zone_table.patch
deal-with-cases-of-zone_dma-meaning-the-first-zone.patch
get-rid-of-zone_table-fix-3.patch
optional-zone_dma-in-the-vm.patch
zoneid-fix-up-calculations-for-zoneid_pgshift.patch
enables-booting-a-numa-system-where-some-nodes-have-no.patch
numa-node-ids-are-int-page_to_nid-and-zone_to_nid-should-return-int.patch
silence-unused-pgdat-warning-from-alloc_bootmem_node-and-friends.patch
mm-cleanup-indentation-on-switch-for-cpu-operations.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html