powerpc: sparse: Include headers for __weak symbols
authorDaniel Axtens <dja@axtens.net>
Wed, 6 Jan 2016 00:45:51 +0000 (11:45 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 12 Apr 2016 11:05:19 +0000 (21:05 +1000)
commit7f92bc5694557dee4cefa90df27feec16c7b62da
tree04036fff4ed67ced269d59c4e34ce35c98265d9f
parent635218c785bef355bc8266a1fdb28f38cdca365d
powerpc: sparse: Include headers for __weak symbols

Sometimes when sparse warns about undefined symbols, it isn't
because they should have 'static' added, it's because they're
overriding __weak symbols defined elsewhere, and the header has
been missed.

Fix a few of them by adding appropriate headers.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/time.c
arch/powerpc/mm/mmap.c