mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
parisc: Drop padding fields and layers entries from inventory log
Drop those, as they are zero and not used by HPPA-SeaBIOS. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -1043,11 +1043,7 @@ static __init int qemu_print_iodc_data(struct device *lin_dev, void *data)
|
||||
(unsigned char)mod_path.path.bc[3],
|
||||
(unsigned char)mod_path.path.bc[4],
|
||||
(unsigned char)mod_path.path.bc[5]);
|
||||
pr_cont(".mod = 0x%x ", mod_path.path.mod);
|
||||
pr_cont(" },\n");
|
||||
pr_cont("\t.layers = { 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x }\n",
|
||||
mod_path.layers[0], mod_path.layers[1], mod_path.layers[2],
|
||||
mod_path.layers[3], mod_path.layers[4], mod_path.layers[5]);
|
||||
pr_cont(".mod = 0x%x }\n", mod_path.path.mod);
|
||||
pr_cont("};\n");
|
||||
|
||||
pr_info("static struct pdc_iodc iodc_data_hpa_%08lx = {\n", hpa);
|
||||
@@ -1067,8 +1063,6 @@ static __init int qemu_print_iodc_data(struct device *lin_dev, void *data)
|
||||
DO(checksum);
|
||||
DO(length);
|
||||
#undef DO
|
||||
pr_cont("\t/* pad: 0x%04x, 0x%04x */\n",
|
||||
iodc_data.pad[0], iodc_data.pad[1]);
|
||||
pr_cont("};\n");
|
||||
|
||||
pr_info("#define HPA_%08lx_num_addr %d\n", hpa, dev->num_addrs);
|
||||
|
||||
Reference in New Issue
Block a user