]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[PATCH] generic-time: add macro to simplify/hide mask constants
authorJim Cromie <jim.cromie@gmail.com>
Mon, 26 Jun 2006 07:25:15 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:21 +0000 (09:58 -0700)
commit7f9f303aa33c7acc7b4aa9ebea25cbd990bc707b
treeb5916e6b018356afdb5c8687e554a049532633bd
parent7d622d4794490cef933c20e4a6279e43e03fafad
[PATCH] generic-time: add macro to simplify/hide mask constants

Add a CLOCKSOURCE_MASK macro to simplify initializing the mask for a struct
clocksource, and use it to replace literal mask constants in the various
clocksource drivers.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/hpet.c
arch/i386/kernel/i8253.c
arch/i386/kernel/tsc.c
drivers/clocksource/acpi_pm.c
drivers/clocksource/cyclone.c
include/linux/clocksource.h