Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574323
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <fengguang.wu@intel.com> |
| Newsgroups | linux.kernel |
| Subject | [tip:WIP.sched/core 162/162] arch/arm64/kernel/psci.c:48:50: error: implicit declaration of function '__pa' |
| Date | Mon, 06 Feb 2017 03:00:02 +0100 |
| Message-ID | <t7GL0-6Ke-3@gated-at.bofh.it> (permalink) |
| X-Original-To | Ingo Molnar <mingo@kernel.org> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.33,339,1477983600"; d="gz'50?scan'50,208,50";a="55686432" |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="J/dobhs11T7y2rNN" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 229 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com |
| X-Original-Date | Mon, 6 Feb 2017 09:56:30 +0800 |
| X-Original-Message-ID | <201702060923.T71O31Q9%fengguang.wu@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1574323 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core
head: 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1
commit: 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1 [162/162] sched/headers: Reduce header dependencies
config: arm64-alldefconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1
# save the attached .config to linux build tree
make.cross ARCH=arm64
All errors (new ones prefixed by >>):
arch/arm64/kernel/psci.c: In function 'cpu_psci_cpu_boot':
>> arch/arm64/kernel/psci.c:48:50: error: implicit declaration of function '__pa' [-Werror=implicit-function-declaration]
int err = psci_ops.cpu_on(cpu_logical_map(cpu), __pa(secondary_entry));
^~~~
cc1: some warnings being treated as errors
vim +/__pa +48 arch/arm64/kernel/psci.c
00ef54bb Mark Rutland 2013-10-24 32 {
00ef54bb Mark Rutland 2013-10-24 33 return 0;
00ef54bb Mark Rutland 2013-10-24 34 }
00ef54bb Mark Rutland 2013-10-24 35
cd1aebf5 Mark Rutland 2013-10-24 36 static int __init cpu_psci_cpu_prepare(unsigned int cpu)
00ef54bb Mark Rutland 2013-10-24 37 {
00ef54bb Mark Rutland 2013-10-24 38 if (!psci_ops.cpu_on) {
00ef54bb Mark Rutland 2013-10-24 39 pr_err("no cpu_on method, not booting CPU%d\n", cpu);
00ef54bb Mark Rutland 2013-10-24 40 return -ENODEV;
00ef54bb Mark Rutland 2013-10-24 41 }
00ef54bb Mark Rutland 2013-10-24 42
652af899 Mark Rutland 2013-10-24 43 return 0;
00ef54bb Mark Rutland 2013-10-24 44 }
00ef54bb Mark Rutland 2013-10-24 45
652af899 Mark Rutland 2013-10-24 46 static int cpu_psci_cpu_boot(unsigned int cpu)
652af899 Mark Rutland 2013-10-24 47 {
652af899 Mark Rutland 2013-10-24 @48 int err = psci_ops.cpu_on(cpu_logical_map(cpu), __pa(secondary_entry));
652af899 Mark Rutland 2013-10-24 49 if (err)
288ac26c Vladimir Murzin 2014-02-28 50 pr_err("failed to boot CPU%d (%d)\n", cpu, err);
652af899 Mark Rutland 2013-10-24 51
652af899 Mark Rutland 2013-10-24 52 return err;
00ef54bb Mark Rutland 2013-10-24 53 }
00ef54bb Mark Rutland 2013-10-24 54
831ccf79 Mark Rutland 2013-10-24 55 #ifdef CONFIG_HOTPLUG_CPU
831ccf79 Mark Rutland 2013-10-24 56 static int cpu_psci_cpu_disable(unsigned int cpu)
:::::: The code at line 48 was first introduced by commit
:::::: 652af899799354049b273af897b798b8f03fdd88 arm64: factor out spin-table boot method
:::::: TO: Mark Rutland <mark.rutland@arm.com>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[tip:WIP.sched/core 162/162] arch/arm64/kernel/psci.c:48:50: error: implicit declaration of function '__pa' kbuild test robot <fengguang.wu@intel.com> - 2017-02-06 03:00 +0100
csiph-web