mirror of https://gitee.com/openkylin/linux.git
[PATCH] ppc64: genrtc build fix
genrtc.c won't compile on ppc64. Seems that ppc32 does support it though? We do this wrong btw - we should be selecting GEN_RTC in each arch/xxx/Kconfig. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
64c74de7a3
commit
62b662a309
|
@ -735,7 +735,7 @@ config SGI_IP27_RTC
|
||||||
|
|
||||||
config GEN_RTC
|
config GEN_RTC
|
||||||
tristate "Generic /dev/rtc emulation"
|
tristate "Generic /dev/rtc emulation"
|
||||||
depends on RTC!=y && !IA64 && !ARM
|
depends on RTC!=y && !IA64 && !ARM && !PPC64
|
||||||
---help---
|
---help---
|
||||||
If you say Y here and create a character special file /dev/rtc with
|
If you say Y here and create a character special file /dev/rtc with
|
||||||
major number 10 and minor number 135 using mknod ("man mknod"), you
|
major number 10 and minor number 135 using mknod ("man mknod"), you
|
||||||
|
|
Loading…
Reference in New Issue