projects/linux·commit c0f2f761

[SPARC64]: Kconfig fix (GEN_RTC dependencies)

c0f2f761 · Al Viro <[email protected]> · 2005-09-05 23:35:41 -07:00

Yet another architecture not coverd by GEN_RTC - sparc64 never picked
it until now and it doesn't have asm/rtc.h to go with it, so it
wouldn't compile anyway (or have these ioctls in the user-visible
headers, for that matter).

FWIW, I'm very tempted to introduce ARCH_HAS_GEN_RTC and have it set
in arch/*/Kconfig for architectures that know what to do with this
stuff - for something supposedly generic the list of architectures
where it doesn't work is getting too long...

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Commit
c0f2f761e1ea3923952e31cce2cdb7d65f450fbd
Parents
3d9c9948

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/char/Kconfigmodified+1−1View file

drivers/char/Kconfig

View file
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index f418f45..a1de06d 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -735,7 +735,7 @@ config SGI_IP27_RTC
config GEN_RTC
tristate "Generic /dev/rtc emulation"
- depends on RTC!=y && !IA64 && !ARM && !PPC64 && !M32R && !SPARC32
+ depends on RTC!=y && !IA64 && !ARM && !PPC64 && !M32R && !SPARC32 && !SPARC64
---help---
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