diff options
author | Mark Einon <[email protected]> | 2015-04-01 22:32:04 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-04-03 15:21:56 +0200 |
commit | 7f99f8b94c9355acdb14f1be28cb19aac741da68 (patch) | |
tree | 171c94fb7281576129ebb4f553d190bb3e00b339 /fs/jbd/commit.c | |
parent | 020b37ac66c5fcec70b6fa51113b84bdfff6a4bc (diff) |
x86/earlyprintk: Put CONFIG_PCI-only functions under the #ifdef
Two static functions are only used if CONFIG_PCI is defined, so only
build them if this is the case. Fixes the build warnings:
arch/x86/kernel/early_printk.c:98:13: warning: ‘mem32_serial_out’ defined but not used [-Wunused-function]
static void mem32_serial_out(unsigned long addr, int offset, int value)
^
arch/x86/kernel/early_printk.c:105:21: warning: ‘mem32_serial_in’ defined but not used [-Wunused-function]
static unsigned int mem32_serial_in(unsigned long addr, int offset)
^
Also convert a few related instances of uintXX_t to kernel specific uXX
defines.
Signed-off-by: Mark Einon <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions