diff options
author | Yinghai Lu <[email protected]> | 2009-03-13 12:46:07 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-14 12:27:06 +0100 |
commit | 63516ef6d6a8379ee5c32463efc6a75f9da8a309 (patch) | |
tree | c9096842aaa9d598b29c45c8c3ef71a301dfa8e7 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 3ff42da5048649503e343a32be37b14a6a4e8aaf (diff) |
x86: fix get_mtrr() warning about smp_processor_id() with CONFIG_PREEMPT=y
Impact: fix debug warning
Jaswinder noticed that there is a warning about smp_processor_id()
in get_mtrr().
Fix it by wrapping the printout into a get/put_cpu() pair.
Reported-by: Jaswinder Singh Rajput <[email protected]>
Signed-off-by: Yinghai Lu <[email protected]>
Cc: Andrew Morton <[email protected]>
LKML-Reference: <[email protected]>
[ changed to get/put_cpu(), cleaned up surrounding code a it. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions