diff options
| -rw-r--r-- | MAINTAINERS | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/auxvec.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/cputable.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/ftrace.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/hw_irq.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/io.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/socket.h | 3 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/user.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/include/asm/vga.h | 1 | ||||
| -rw-r--r-- | arch/microblaze/kernel/of_device.c | 10 | ||||
| -rw-r--r-- | arch/microblaze/kernel/process.c | 3 | ||||
| -rw-r--r-- | arch/microblaze/kernel/prom.c | 1 | ||||
| -rw-r--r-- | arch/microblaze/kernel/ptrace.c | 1 | ||||
| -rw-r--r-- | arch/microblaze/kernel/signal.c | 1 | ||||
| -rw-r--r-- | arch/microblaze/kernel/sys_microblaze.c | 2 |
15 files changed, 15 insertions, 14 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 57969bf67b94..0cb20d821694 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -3680,6 +3680,7 @@ L: microblaze-uclinux@itee.uq.edu.au | |||
| 3680 | W: http://www.monstr.eu/fdt/ | 3680 | W: http://www.monstr.eu/fdt/ |
| 3681 | T: git git://git.monstr.eu/linux-2.6-microblaze.git | 3681 | T: git git://git.monstr.eu/linux-2.6-microblaze.git |
| 3682 | S: Supported | 3682 | S: Supported |
| 3683 | F: arch/microblaze/ | ||
| 3683 | 3684 | ||
| 3684 | MICROTEK X6 SCANNER | 3685 | MICROTEK X6 SCANNER |
| 3685 | P: Oliver Neukum | 3686 | P: Oliver Neukum |
diff --git a/arch/microblaze/include/asm/auxvec.h b/arch/microblaze/include/asm/auxvec.h index e69de29bb2d1..8b137891791f 100644 --- a/arch/microblaze/include/asm/auxvec.h +++ b/arch/microblaze/include/asm/auxvec.h | |||
| @@ -0,0 +1 @@ | |||
diff --git a/arch/microblaze/include/asm/cputable.h b/arch/microblaze/include/asm/cputable.h index e69de29bb2d1..8b137891791f 100644 --- a/arch/microblaze/include/asm/cputable.h +++ b/arch/microblaze/include/asm/cputable.h | |||
| @@ -0,0 +1 @@ | |||
diff --git a/arch/microblaze/include/asm/ftrace.h b/arch/microblaze/include/asm/ftrace.h new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/arch/microblaze/include/asm/ftrace.h | |||
| @@ -0,0 +1 @@ | |||
diff --git a/arch/microblaze/include/asm/hw_irq.h b/arch/microblaze/include/asm/hw_irq.h index e69de29bb2d1..8b137891791f 100644 --- a/arch/microblaze/include/asm/hw_irq.h +++ b/arch/microblaze/include/asm/hw_irq.h | |||
| @@ -0,0 +1 @@ | |||
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h index cfab0342588d..8b5853ee6b5c 100644 --- a/arch/microblaze/include/asm/io.h +++ b/arch/microblaze/include/asm/io.h | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | #include <asm/byteorder.h> | 12 | #include <asm/byteorder.h> |
| 13 | #include <asm/page.h> | 13 | #include <asm/page.h> |
| 14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
| 15 | #include <asm/page.h> | ||
| 16 | 15 | ||
| 17 | #define IO_SPACE_LIMIT (0xFFFFFFFF) | 16 | #define IO_SPACE_LIMIT (0xFFFFFFFF) |
| 18 | 17 | ||
diff --git a/arch/microblaze/include/asm/socket.h b/arch/microblaze/include/asm/socket.h index f919b6b540ac..825936860314 100644 --- a/arch/microblaze/include/asm/socket.h +++ b/arch/microblaze/include/asm/socket.h | |||
| @@ -63,4 +63,7 @@ | |||
| 63 | 63 | ||
| 64 | #define SO_MARK 36 | 64 | #define SO_MARK 36 |
| 65 | 65 | ||
| 66 | #define SO_TIMESTAMPING 37 | ||
| 67 | #define SCM_TIMESTAMPING SO_TIMESTAMPING | ||
| 68 | |||
| 66 | #endif /* _ASM_MICROBLAZE_SOCKET_H */ | 69 | #endif /* _ASM_MICROBLAZE_SOCKET_H */ |
diff --git a/arch/microblaze/include/asm/user.h b/arch/microblaze/include/asm/user.h index e69de29bb2d1..8b137891791f 100644 --- a/arch/microblaze/include/asm/user.h +++ b/arch/microblaze/include/asm/user.h | |||
| @@ -0,0 +1 @@ | |||
diff --git a/arch/microblaze/include/asm/vga.h b/arch/microblaze/include/asm/vga.h index e69de29bb2d1..8b137891791f 100644 --- a/arch/microblaze/include/asm/vga.h +++ b/arch/microblaze/include/asm/vga.h | |||
| @@ -0,0 +1 @@ | |||
diff --git a/arch/microblaze/kernel/of_device.c b/arch/microblaze/kernel/of_device.c index 717edf4ad0b4..9a0f7632c47c 100644 --- a/arch/microblaze/kernel/of_device.c +++ b/arch/microblaze/kernel/of_device.c | |||
| @@ -13,7 +13,6 @@ void of_device_make_bus_id(struct of_device *dev) | |||
| 13 | { | 13 | { |
| 14 | static atomic_t bus_no_reg_magic; | 14 | static atomic_t bus_no_reg_magic; |
| 15 | struct device_node *node = dev->node; | 15 | struct device_node *node = dev->node; |
| 16 | char *name = dev->dev.bus_id; | ||
| 17 | const u32 *reg; | 16 | const u32 *reg; |
| 18 | u64 addr; | 17 | u64 addr; |
| 19 | int magic; | 18 | int magic; |
| @@ -25,9 +24,8 @@ void of_device_make_bus_id(struct of_device *dev) | |||
| 25 | if (reg) { | 24 | if (reg) { |
| 26 | addr = of_translate_address(node, reg); | 25 | addr = of_translate_address(node, reg); |
| 27 | if (addr != OF_BAD_ADDR) { | 26 | if (addr != OF_BAD_ADDR) { |
| 28 | snprintf(name, BUS_ID_SIZE, | 27 | dev_set_name(&dev->dev, "%llx.%s", |
| 29 | "%llx.%s", (unsigned long long)addr, | 28 | (unsigned long long)addr, node->name); |
| 30 | node->name); | ||
| 31 | return; | 29 | return; |
| 32 | } | 30 | } |
| 33 | } | 31 | } |
| @@ -37,7 +35,7 @@ void of_device_make_bus_id(struct of_device *dev) | |||
| 37 | * counter (and pray...) | 35 | * counter (and pray...) |
| 38 | */ | 36 | */ |
| 39 | magic = atomic_add_return(1, &bus_no_reg_magic); | 37 | magic = atomic_add_return(1, &bus_no_reg_magic); |
| 40 | snprintf(name, BUS_ID_SIZE, "%s.%d", node->name, magic - 1); | 38 | dev_set_name(&dev->dev, "%s.%d", node->name, magic - 1); |
| 41 | } | 39 | } |
| 42 | EXPORT_SYMBOL(of_device_make_bus_id); | 40 | EXPORT_SYMBOL(of_device_make_bus_id); |
| 43 | 41 | ||
| @@ -58,7 +56,7 @@ struct of_device *of_device_alloc(struct device_node *np, | |||
| 58 | dev->dev.archdata.of_node = np; | 56 | dev->dev.archdata.of_node = np; |
| 59 | 57 | ||
| 60 | if (bus_id) | 58 | if (bus_id) |
| 61 | strlcpy(dev->dev.bus_id, bus_id, BUS_ID_SIZE); | 59 | dev_set_name(&dev->dev, bus_id); |
| 62 | else | 60 | else |
| 63 | of_device_make_bus_id(dev); | 61 | of_device_make_bus_id(dev); |
| 64 | 62 | ||
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 60e9ed7d3132..436f26ccbfa9 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
| @@ -115,8 +115,7 @@ void flush_thread(void) | |||
| 115 | { | 115 | { |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | /* FIXME - here will be a proposed change -> remove nr parameter */ | 118 | int copy_thread(unsigned long clone_flags, unsigned long usp, |
| 119 | int copy_thread(int nr, unsigned long clone_flags, unsigned long usp, | ||
| 120 | unsigned long unused, | 119 | unsigned long unused, |
| 121 | struct task_struct *p, struct pt_regs *regs) | 120 | struct task_struct *p, struct pt_regs *regs) |
| 122 | { | 121 | { |
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index 475b1fac5cfd..34c48718061a 100644 --- a/arch/microblaze/kernel/prom.c +++ b/arch/microblaze/kernel/prom.c | |||
| @@ -39,7 +39,6 @@ | |||
| 39 | #include <asm/system.h> | 39 | #include <asm/system.h> |
| 40 | #include <asm/mmu.h> | 40 | #include <asm/mmu.h> |
| 41 | #include <asm/pgtable.h> | 41 | #include <asm/pgtable.h> |
| 42 | #include <linux/pci.h> | ||
| 43 | #include <asm/sections.h> | 42 | #include <asm/sections.h> |
| 44 | #include <asm/pci-bridge.h> | 43 | #include <asm/pci-bridge.h> |
| 45 | 44 | ||
diff --git a/arch/microblaze/kernel/ptrace.c b/arch/microblaze/kernel/ptrace.c index 3171e39e3220..b86aa623e36d 100644 --- a/arch/microblaze/kernel/ptrace.c +++ b/arch/microblaze/kernel/ptrace.c | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | #include <linux/signal.h> | 32 | #include <linux/signal.h> |
| 33 | 33 | ||
| 34 | #include <linux/errno.h> | 34 | #include <linux/errno.h> |
| 35 | #include <linux/ptrace.h> | ||
| 36 | #include <asm/processor.h> | 35 | #include <asm/processor.h> |
| 37 | #include <linux/uaccess.h> | 36 | #include <linux/uaccess.h> |
| 38 | #include <asm/asm-offsets.h> | 37 | #include <asm/asm-offsets.h> |
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c index ff347b98863a..3889cf45fa71 100644 --- a/arch/microblaze/kernel/signal.c +++ b/arch/microblaze/kernel/signal.c | |||
| @@ -37,7 +37,6 @@ | |||
| 37 | #include <linux/uaccess.h> | 37 | #include <linux/uaccess.h> |
| 38 | #include <asm/pgtable.h> | 38 | #include <asm/pgtable.h> |
| 39 | #include <asm/pgalloc.h> | 39 | #include <asm/pgalloc.h> |
| 40 | #include <linux/signal.h> | ||
| 41 | #include <linux/syscalls.h> | 40 | #include <linux/syscalls.h> |
| 42 | #include <asm/cacheflush.h> | 41 | #include <asm/cacheflush.h> |
| 43 | #include <asm/syscalls.h> | 42 | #include <asm/syscalls.h> |
diff --git a/arch/microblaze/kernel/sys_microblaze.c b/arch/microblaze/kernel/sys_microblaze.c index d90b548fb1bb..ba0568c2cc1c 100644 --- a/arch/microblaze/kernel/sys_microblaze.c +++ b/arch/microblaze/kernel/sys_microblaze.c | |||
| @@ -29,9 +29,7 @@ | |||
| 29 | #include <linux/module.h> | 29 | #include <linux/module.h> |
| 30 | #include <linux/err.h> | 30 | #include <linux/err.h> |
| 31 | #include <linux/fs.h> | 31 | #include <linux/fs.h> |
| 32 | #include <linux/ipc.h> | ||
| 33 | #include <linux/semaphore.h> | 32 | #include <linux/semaphore.h> |
| 34 | #include <linux/syscalls.h> | ||
| 35 | #include <linux/uaccess.h> | 33 | #include <linux/uaccess.h> |
| 36 | #include <linux/unistd.h> | 34 | #include <linux/unistd.h> |
| 37 | 35 | ||
