i8253: Consolidate all kernel definitions of i8253_lock

Move them to drivers/clocksource/i8253.c and remove the
implementations in arch/

[ tglx: Avoid the extra file in lib - folded arch patches in. The
  export will become conditional in a later step ]

Signed-off-by: Ralf Baechle <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: Russell King <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
Ralf Baechle 2011-06-01 19:04:59 +01:00 • committed by Thomas Gleixner
commit 15f304b664
8 changed files with 21 additions and 10 deletions

View file

@ -1002,6 +1002,7 @@ config ELF_CORE
config PCSPKR_PLATFORM
bool "Enable PC-Speaker support" if EXPERT
depends on ALPHA || X86 || MIPS || PPC_PREP || PPC_CHRP || PPC_PSERIES
select I8253_LOCK
default y
help
This option allows to disable the internal PC-Speaker