Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd167e42 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

[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: default avatarAndi Kleen <ak@suse.de>
parent c1a9d41f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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