From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: smp_call_function_mask not defined in UP kernel. Date: Tue, 13 Nov 2007 10:23:51 +0200 Message-ID: <47395F17.6030602@qumranet.com> References: <42DFA526FC41B1429CE7279EF83C6BDC94F79F@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Zhang, Xiantao" Return-path: In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC94F79F-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Zhang, Xiantao wrote: > Hi Avi, > smp_call_function_mask is introduced in latest commits, but not > defined in UP configuration. So, it will run into compile fail when > kernel is configured without smp support. Please check and do the fix > :) > I see it in my include/linux/smp.h: > > #define smp_call_function_mask(mask, func, info, wait) \ > (up_smp_call_function(func, info)) > > #endif /* !SMP */ It's fairly new. Are you sure you are using the latest code? -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/