Merge branch 'driver-core-next' into Linux 3.2
This resolves the conflict in the arch/arm/mach-s3c64xx/s3c6400.c file, and it fixes the build error in the arch/x86/kernel/microcode_core.c file, that the merge did not catch. The microcode_core.c patch was provided by Stephen Rothwell <sfr@canb.auug.org.au> who was invaluable in the merge issues involved with the large sysdev removal process in the driver-core tree. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/sysdev.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#define LS_SIZE (256 * 1024)
|
||||
@@ -166,7 +166,7 @@ struct spu {
|
||||
/* beat only */
|
||||
u64 shadow_int_mask_RW[3];
|
||||
|
||||
struct sys_device sysdev;
|
||||
struct device dev;
|
||||
|
||||
int has_mem_affinity;
|
||||
struct list_head aff_list;
|
||||
@@ -270,11 +270,11 @@ struct spufs_calls {
|
||||
int register_spu_syscalls(struct spufs_calls *calls);
|
||||
void unregister_spu_syscalls(struct spufs_calls *calls);
|
||||
|
||||
int spu_add_sysdev_attr(struct sysdev_attribute *attr);
|
||||
void spu_remove_sysdev_attr(struct sysdev_attribute *attr);
|
||||
int spu_add_dev_attr(struct device_attribute *attr);
|
||||
void spu_remove_dev_attr(struct device_attribute *attr);
|
||||
|
||||
int spu_add_sysdev_attr_group(struct attribute_group *attrs);
|
||||
void spu_remove_sysdev_attr_group(struct attribute_group *attrs);
|
||||
int spu_add_dev_attr_group(struct attribute_group *attrs);
|
||||
void spu_remove_dev_attr_group(struct attribute_group *attrs);
|
||||
|
||||
int spu_handle_mm_fault(struct mm_struct *mm, unsigned long ea,
|
||||
unsigned long dsisr, unsigned *flt);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifdef __KERNEL__
|
||||
|
||||
|
||||
struct sys_device;
|
||||
struct device;
|
||||
struct device_node;
|
||||
|
||||
#ifdef CONFIG_NUMA
|
||||
@@ -86,19 +86,19 @@ extern int __node_distance(int, int);
|
||||
|
||||
extern void __init dump_numa_cpu_topology(void);
|
||||
|
||||
extern int sysfs_add_device_to_node(struct sys_device *dev, int nid);
|
||||
extern void sysfs_remove_device_from_node(struct sys_device *dev, int nid);
|
||||
extern int sysfs_add_device_to_node(struct device *dev, int nid);
|
||||
extern void sysfs_remove_device_from_node(struct device *dev, int nid);
|
||||
|
||||
#else
|
||||
|
||||
static inline void dump_numa_cpu_topology(void) {}
|
||||
|
||||
static inline int sysfs_add_device_to_node(struct sys_device *dev, int nid)
|
||||
static inline int sysfs_add_device_to_node(struct device *dev, int nid)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline void sysfs_remove_device_from_node(struct sys_device *dev,
|
||||
static inline void sysfs_remove_device_from_node(struct device *dev,
|
||||
int nid)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user