From: Andi Kleen Date: Tue, 26 Sep 2006 08:52:40 +0000 (+0200) Subject: [PATCH] Define __bad_pda_field as noreturn X-Git-Tag: v2.6.19-rc1~1077^2~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fd167e42b237e0688005b3dec380eb5a6e5f3585;p=linux-2.6-omap-h63xx.git [PATCH] Define __bad_pda_field as noreturn This quietens so warnings about uninitialized use of the return value of the pda read operations. Signed-off-by: Andi Kleen --- diff --git a/include/asm-x86_64/pda.h b/include/asm-x86_64/pda.h index 9e3aaf74475..531f48a6c3a 100644 --- a/include/asm-x86_64/pda.h +++ b/include/asm-x86_64/pda.h @@ -39,7 +39,7 @@ extern struct x8664_pda boot_cpu_pda[]; * There is no fast way to get the base address of the PDA, all the accesses * have to mention %fs/%gs. So it needs to be done this Torvaldian way. */ -extern void __bad_pda_field(void); +extern void __bad_pda_field(void) __attribute__((noreturn)); /* * proxy_pda doesn't actually exist, but tell gcc it is accessed for