lkml.org 
[lkml]   [2010]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectHelp: compile the Linux kernel (KVM kernel )on Ubuntu 10.04 err
From
Hi all,

While compiling the kvm linux kernel on my ubuntu 10.04(Linux
xxxx-laptop 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC
2010 i686 GNU/Linux), the  err below appear, How to figure out please?

=err msg=
In file included from drivers/platform/x86/intel_
scu_ipc.c:26:
kvm/arch/x86/include/asm/mrst.h:14: warning: ‘struct sfi_table_header’
declared inside parameter list
kvm/arch/x86/include/asm/mrst.h:14: warning: its scope is only this
definition or declaration, which is probably not what you want
drivers/platform/x86/intel_scu_ipc.c: In function ‘pwr_reg_rdwr’:
drivers/platform/x86/intel_scu_ipc.c:175: error:
‘MRST_CPU_CHIP_PENWELL’ undeclared (first use in this function)
drivers/platform/x86/intel_scu_ipc.c:175: error: (Each undeclared
identifier is reported only once
drivers/platform/x86/intel_scu_ipc.c:175: error: for each function it
appears in.)
drivers/platform/x86/intel_scu_ipc.c: In function ‘intel_scu_ipc_init’:
drivers/platform/x86/intel_scu_ipc.c:741: error: implicit declaration
of function ‘mrst_identify_cpu’
make[3]: *** [drivers/platform/x86/intel_scu_ipc.o] Error 1
make[2]: *** [drivers/platform/x86] Error 2
make[1]: *** [drivers/platform] Error 2
make: *** [drivers] Error 2

=KVM kernel info=
kvm$ git log
commit 5c739e07acf53aa3212ea28db34397eb936d46b2
Author: Wei Yongjun <yjwei@cn.fujitsu.com>
Date:   Tue Aug 10 13:48:22 2010 +0800

    KVM: x86 emulator: add bsf/bsr instruction emulation

    Add bsf/bsr instruction emulation (opcode 0x0f 0xbc~0xbd)

    Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>

commit 4480639d9a17b4f13d932b1579bb4ad81b70659b
Author: Mohammed Gamal <m.gamal005@gmail.com>
Date:   Sun Aug 8 21:11:38 2010 +0300

    KVM: x86 emulator: Fix emulate_grp3 return values

    This patch lets emulate_grp3() return X86EMUL_* return codes instead
    of hardcoded ones.

    Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>
...

=search the kvm kernel tree=
kvm$ grep MRST_CPU_CHIP_PENWELL . -R
./drivers/platform/x86/intel_scu_ipc.c:    if (platform !=
MRST_CPU_CHIP_PENWELL) {
./drivers/platform/x86/intel_scu_ipc.c:        if (platform !=
MRST_CPU_CHIP_PENWELL) {

--
zhoupeng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-08-16 12:45    [W:0.022 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site