From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934089Ab0EYUKL (ORCPT ); Tue, 25 May 2010 16:10:11 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:55906 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933673Ab0EYUKJ (ORCPT ); Tue, 25 May 2010 16:10:09 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Tue, 25 May 2010 22:10:03 +0200 (CEST) From: Stefan Richter Subject: powernow-k8: section mismatch To: cpufreq@vger.kernel.org cc: Borislav Petkov , "H. Peter Anvin" , linux-kernel@vger.kernel.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I got the following with current git: WARNING: arch/x86/kernel/cpu/cpufreq/powernow-k8.o(.exit.text+0x1c): Section mismatch in reference from the function cleanup_module() to the variable .cpuinit.data:cpb_nb The function __exit cleanup_module() references a variable __cpuinitdata cpb_nb. This is often seen when error handling in the exit function uses functionality in the init path. The fix is often to remove the __cpuinitdata annotation of cpb_nb so it may be used outside an init section. Looks like it was introduced by "powernow-k8: Add core performance boost support". -- Stefan Richter -=====-==-=- -=-= ==--= http://arcgraph.de/sr/