Skip to content
  • Arnd Bergmann's avatar
    [PATCH] ppc64: consolidate calibrate_decr implementations · 10f7e7c1
    Arnd Bergmann authored
    
    
    pSeries and maple have almost the same code for calibrate_decr,
    and BPA would need yet another copy. Instead, I'm moving the
    code to arch/ppc64/kernel/time.c.
    
    Some of the related declarations were missing from header
    files, so I'm moving those as well.
    
    It makes sense to merge this with the pmac function of the
    same name, so we end up having just one implemetation for
    iSeries and one for Open Firmware based machines.
    
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    10f7e7c1