mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
Subject: [tip:WIP.x86/ipi 8/11] arch/x86/kernel/apic/ipi.c:48:6: error: redefinition of 'apic_smt_update'
Date: Wed, 19 Jun 2019 16:13:59 +0800	[thread overview]
Message-ID: <201906191657.AStRYd3H%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/ipi
head:   0663387727c00bb25ce1e76f30deb6b193f591f8
commit: b3b483a0796da8f2c0d91b8594ef0ae593ec29fb [8/11] x86/apic: Add static key to Control IPI shorthands
config: x86_64-randconfig-x015-201924 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout b3b483a0796da8f2c0d91b8594ef0ae593ec29fb
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86/kernel/apic/ipi.c:48:6: error: redefinition of 'apic_smt_update'
    void apic_smt_update(void)
         ^~~~~~~~~~~~~~~
   In file included from arch/x86/include/asm/smp.h:13:0,
                    from arch/x86/kernel/apic/ipi.c:13:
   arch/x86/include/asm/apic.h:72:20: note: previous definition of 'apic_smt_update' was here
    static inline void apic_smt_update(void) {}
                       ^~~~~~~~~~~~~~~

vim +/apic_smt_update +48 arch/x86/kernel/apic/ipi.c

    47	
  > 48	void apic_smt_update(void)
    49	{
    50		if (!cpumask_equal(cpu_present_mask, &cpus_booted_once_mask))
    51			static_branch_disable(&apic_use_ipi_shorthand);
    52		else if (!apic_ipi_shorthand_off)
    53			static_branch_enable(&apic_use_ipi_shorthand);
    54	}
    55	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30267 bytes --]

                 reply	other threads:[~2019-06-19  8:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201906191657.AStRYd3H%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tipbuild@zytor.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome