From: Hugh Dickins Date: Mon, 21 Jul 2008 17:41:26 +0000 (+0100) Subject: x86: BUILD_IRQ say .text to avoid .data.percpu X-Git-Tag: v2.6.27-rc1~517^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d25d4db81833029d30b7b03cc1000cbbe09e192;p=pandora-kernel.git x86: BUILD_IRQ say .text to avoid .data.percpu When I edit the x86_64 Makefile to -fno-unit-at-a-time, bootup panics on 0xCCs in IRQ0x3e_interrupt(): IRQ0x20_interrupt etc. have got linked into .data.percpu. Perhaps there are other ways of triggering that: specify ".text" in the BUILD_IRQ() macro for safety. I've been using -fno-unit-at-a-time (to lessen inlining, for easier debugging) for a long time. Signed-off-by: Hugh Dickins Cc: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed