--- zzzz-none-000/linux-2.6.39.4/arch/x86/include/asm/topology.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/arch/x86/include/asm/topology.h 2021-11-10 13:38:14.000000000 +0000 @@ -154,7 +154,7 @@ */ #define numa_node_id numa_node_id -static inline int early_cpu_to_node(int cpu) +static inline int early_cpu_to_node(int cpu __attribute__((unused))) { return 0; } @@ -177,7 +177,7 @@ #define arch_provides_topology_pointers yes #endif -static inline void arch_fix_phys_package_id(int num, u32 slot) +static inline void arch_fix_phys_package_id(int num __attribute__((unused)), u32 slot __attribute__((unused))) { } @@ -194,11 +194,11 @@ extern int get_mp_bus_to_node(int busnum); extern void set_mp_bus_to_node(int busnum, int node); #else -static inline int get_mp_bus_to_node(int busnum) +static inline int get_mp_bus_to_node(int busnum __attribute__((unused))) { return 0; } -static inline void set_mp_bus_to_node(int busnum, int node) +static inline void set_mp_bus_to_node(int busnum __attribute__((unused)), int node __attribute__((unused))) { } #endif