Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f29521e4 authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Ingo Molnar
Browse files

x86: rename mp_config_table to mpc_table



Impact: cleanup, solve 80 columns wrap problems

mp_config_table should be renamed to mpc_table.
The reason: the 'c' in MPC already means 'config' -
no need to repeat that in the type name.

Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 923a789b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@ extern void setup_unisys(void);

#ifndef CONFIG_X86_GENERICARCH
extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
extern int mps_oem_check(struct mp_config_table *mpc, char *oem,
				char *productid);
extern int mps_oem_check(struct mpc_table *mpc, char *oem, char *productid);
#endif

#ifdef CONFIG_ACPI
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
 */

struct mpc_config_bus;
struct mp_config_table;
struct mpc_table;
struct mpc_config_processor;

struct genapic {
@@ -51,7 +51,7 @@ struct genapic {
	/* When one of the next two hooks returns 1 the genapic
	   is switched to this. Essentially they are additional probe
	   functions. */
	int (*mps_oem_check)(struct mp_config_table *mpc, char *oem,
	int (*mps_oem_check)(struct mpc_table *mpc, char *oem,
			     char *productid);
	int (*acpi_madt_oem_check)(char *oem_id, char *oem_table_id);

+2 −2
Original line number Diff line number Diff line
#ifndef _ASM_X86_MACH_DEFAULT_MACH_MPPARSE_H
#define _ASM_X86_MACH_DEFAULT_MACH_MPPARSE_H

static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, 
		char *productid)
static inline int
mps_oem_check(struct mpc_table *mpc, char *oem, char *productid)
{
	return 0;
}
+2 −3
Original line number Diff line number Diff line
@@ -2,9 +2,8 @@
#define _ASM_X86_MACH_GENERIC_MACH_MPPARSE_H


extern int mps_oem_check(struct mp_config_table *mpc, char *oem,
			 char *productid);
extern int mps_oem_check(struct mpc_table *, char *, char *);

extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
extern int acpi_madt_oem_check(char *, char *);

#endif /* _ASM_X86_MACH_GENERIC_MACH_MPPARSE_H */
+2 −2
Original line number Diff line number Diff line
@@ -7,6 +7,6 @@
/* Maximum 256 PCI busses, plus 1 ISA bus in each of 4 cabinets. */
#define MAX_MP_BUSSES 260

extern void numaq_mps_oem_check(struct mp_config_table *mpc, char *oem,
				char *productid);
extern void numaq_mps_oem_check(struct mpc_table *, char *, char *);

#endif /* _ASM_X86_MACH_GENERIC_MACH_MPSPEC_H */
Loading