diff options
| author | 2012-11-23 16:13:05 +0000 | |
|---|---|---|
| committer | 2013-03-02 20:09:14 +0000 | |
| commit | c93d03123169357afde2d9b20dfbf9675295668f (patch) | |
| tree | 88f05b0859830c331cfbff0c1908ac701d8e2a06 /kernel/debug/debug_core.c | |
| parent | Linux 3.8 (diff) | |
asm-generic/io.h: check CONFIG_VIRT_TO_BUS
Make asm-generic/io.h check CONFIG_VIRT_TO_BUS before defining
virt_to_bus() and bus_to_virt(), otherwise it's easy to accidentally
have a silently failing incorrect direct mapped definition rather then
no definition at all.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions
