unicore32 time.c: change calculate method for clock_event_device
authorGuanXuetao <gxt@mprc.pku.edu.cn>
Thu, 17 Feb 2011 09:50:43 +0000 (17:50 +0800)
committerGuanXuetao <gxt@mprc.pku.edu.cn>
Thu, 17 Mar 2011 01:19:16 +0000 (09:19 +0800)
commita913a8234bb812d21bb0f75c2458f9eb941ddf91
treefc030a37abde57dd2b87bf399b51c99546329a53
parentb31d82737d068bf7ff8ed4592914c8fd7fdb51f0
unicore32 time.c: change calculate method for clock_event_device

apply clockevents_calc_mult_shift() to get rid of
shift assignment and mult calculation for osmr0
  -- by advice with Thomas Gleixner

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/kernel/time.c