+ frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: frv: remove unused cpuinfo_frv and friends to fix future build error
has been added to the -mm tree.  Its filename is
     frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Subject: frv: remove unused cpuinfo_frv and friends to fix future build error

Frv has a macro named cpu_data, interfering with variables and struct
members with the same name:

include/linux/pm_domain.h:75:24: error: expected identifier or '('
before '&' token
  struct gpd_cpu_data *cpu_data;

As struct cpuinfo_frv, boot_cpu_data, cpu_data, and current_cpu_data are
not used, removed them to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/frv/include/asm/processor.h |   16 ----------------
 arch/frv/kernel/setup.c          |    2 --
 2 files changed, 18 deletions(-)

diff -puN arch/frv/include/asm/processor.h~frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error arch/frv/include/asm/processor.h
--- a/arch/frv/include/asm/processor.h~frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error
+++ a/arch/frv/include/asm/processor.h
@@ -35,22 +35,6 @@
 struct task_struct;
 
 /*
- *  CPU type and hardware bug flags. Kept separately for each CPU.
- */
-struct cpuinfo_frv {
-#ifdef CONFIG_MMU
-	unsigned long	*pgd_quick;
-	unsigned long	*pte_quick;
-	unsigned long	pgtable_cache_sz;
-#endif
-} __cacheline_aligned;
-
-extern struct cpuinfo_frv __nongprelbss boot_cpu_data;
-
-#define cpu_data		(&boot_cpu_data)
-#define current_cpu_data	boot_cpu_data
-
-/*
  * Bus types
  */
 #define EISA_bus 0
diff -puN arch/frv/kernel/setup.c~frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error arch/frv/kernel/setup.c
--- a/arch/frv/kernel/setup.c~frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error
+++ a/arch/frv/kernel/setup.c
@@ -104,8 +104,6 @@ unsigned long __nongprelbss dma_coherent
 unsigned long __initdata __sdram_old_base;
 unsigned long __initdata num_mappedpages;
 
-struct cpuinfo_frv __nongprelbss boot_cpu_data;
-
 char __initdata command_line[COMMAND_LINE_SIZE];
 char __initdata redboot_command_line[COMMAND_LINE_SIZE];
 
_

Patches currently in -mm which might be from geert+renesas@xxxxxxxxx are

checkpatch-enable-whitespace-checks-for-dts-files.patch
linux-next.patch
frv-remove-unused-cpuinfo_frv-and-friends-to-fix-future-build-error.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux