]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/sparse: Pass endianness to sparse
authorDaniel Axtens <dja@axtens.net>
Tue, 12 Jul 2016 00:54:51 +0000 (10:54 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:44:03 +0000 (20:44 +1000)
commit6eed83d6534886084e52be8d2e15bc682c3e0593
tree1b0894875f1403c9a9b06cccc2d3a9223cfbe9d1
parent1e8eb68b73ab13c217c1ae74c2778710917b5367
powerpc/sparse: Pass endianness to sparse

Explicitly give sparse an endianness in the Makefile, so that it
doesn't get confused.

Normally we have #ifdef one and #else the other, so it doesn't usually
matter, but we have been bitten by it before, and indeed this patch
fixes a number of sparse errors.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile