diff options
author | Ben Hutchings <[email protected]> | 2014-09-24 13:30:12 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-24 15:17:47 +0200 |
commit | eeeda4cd06e828b331b15741a204ff9f5874d28d (patch) | |
tree | 7ba5e8dcf5dfaeda4a2ad0f8f479d7aa4a7642cf /net/lapb/lapb_subr.c | |
parent | ce4b1b16502b182368cda20a61de2995762c8bcc (diff) |
x86/relocs: Make per_cpu_load_addr static
per_cpu_load_addr is only used for 64-bit relocations, but is
declared in both configurations of relocs.c - with different
types. This has undefined behaviour in general. GNU ld is
documented to use the larger size in this case, but other tools
may differ and some warn about this.
References: https://bugs.debian.org/748577
Reported-by: Michael Tautschnig <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Cc: [email protected]
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions