OSDN Git Service

csky: fixup compile error with pte_alloc
authorGuo Ren <ren_guo@c-sky.com>
Tue, 8 Jan 2019 12:31:43 +0000 (20:31 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Tue, 8 Jan 2019 16:18:33 +0000 (00:18 +0800)
commit2a60aa14a9a0333b3eef58150bc1ef654f7321ef
tree2061650e3ebac1bbabb2b2ed83f10481dbbbc039
parent96354ad79e2e59f9d620669c8e1ac2452440c260
csky: fixup compile error with pte_alloc

Commit: 4cf58924951e remove the address argument of pte_alloc without
modify csky related code. linux-5.0-rc1 compile failed with csky.

Remove the unnecessary address testing in pte_alloc().

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
arch/csky/include/asm/pgalloc.h