From: Grant Likely Date: Mon, 28 Feb 2011 09:59:31 +0000 (+0000) Subject: powerpc/macintosh: Fix __devexit annotation in rack-meter.c X-Git-Tag: v2.6.39-rc1~430^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f4dea454c8e643644114757080680e1959d410;p=pandora-kernel.git powerpc/macintosh: Fix __devexit annotation in rack-meter.c The following warning was seen building rack-meter.c WARNING: drivers/built-in.o(.text+0xac784): Section mismatch in reference from the function rackmeter_shutdown() to the function .devexit.text:rackmeter_stop_cpu_sniffer() The function rackmeter_shutdown() references a function in an exit section. Often the function rackmeter_stop_cpu_sniffer() has valid usage outside the exit section and the fix is to remove the __devexit annotation of rackmeter_stop_cpu_sniffer. This patch resolves the warning by removing the __devexit annotation from rackmeter_stop_cpu_sniffer(). Signed-off-by: Grant Likely Cc: linuxppc-dev@lists.ozlabs.org Cc: Benjamin Herrenschmidt Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed