diff options
author | Andi Kleen <ak@suse.de> | 2006-09-26 04:52:40 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 04:52:40 -0400 |
commit | fd167e42b237e0688005b3dec380eb5a6e5f3585 (patch) | |
tree | 628687df15662dd47781eebd6b227fa823e9924d /include/asm-x86_64/pda.h | |
parent | c1a9d41f4f103bfef2ed0bea1e95b3190e39e448 (diff) |
[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 <ak@suse.de>
Diffstat (limited to 'include/asm-x86_64/pda.h')
-rw-r--r-- | include/asm-x86_64/pda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/pda.h b/include/asm-x86_64/pda.h index 9e3aaf74475d..531f48a6c3af 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[]; | |||
39 | * There is no fast way to get the base address of the PDA, all the accesses | 39 | * There is no fast way to get the base address of the PDA, all the accesses |
40 | * have to mention %fs/%gs. So it needs to be done this Torvaldian way. | 40 | * have to mention %fs/%gs. So it needs to be done this Torvaldian way. |
41 | */ | 41 | */ |
42 | extern void __bad_pda_field(void); | 42 | extern void __bad_pda_field(void) __attribute__((noreturn)); |
43 | 43 | ||
44 | /* | 44 | /* |
45 | * proxy_pda doesn't actually exist, but tell gcc it is accessed for | 45 | * proxy_pda doesn't actually exist, but tell gcc it is accessed for |