diff options
author | Alex Chiang <achiang@hp.com> | 2008-04-24 12:57:08 -0600 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-04-29 13:51:28 -0700 |
commit | 6ff0bc94eee96fe45e5caa338c8b03cb99431fa9 (patch) | |
tree | b8c3876d9d9fe5b7896e1010bd038104a9fc630c /kernel/srcu.c | |
parent | e4a064dfa2b242519a9f06f9a1e58c27bf0c371b (diff) |
[IA64] Remove printk noise on unimplemented SAL_PHYSICAL_ID_INFO
Commit 113134fcbca83619be4c68d0ca66db6093777b5d changed the flow of
control when calling PAL_LOGICAL_TO_PHYSICAL and SAL_PHYSICAL_ID_INFO.
With the change, if a platform did not implement the latter, a useless
printk would appear in the boot log:
ia64_sal_pltid failed with -1
So let's check the return code and only printk on a true error, and do
not print anything in the unimplemented case. While we're in there,
clean up some stylistic issues too.
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions