Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312056
b: refs/heads/master
c: 5cb6a9b
h: refs/heads/master
v: v3
  • Loading branch information
Vipul Kumar Samar authored and Shiraz Hashim committed Jul 18, 2012
1 parent 8fe65fc commit c9c2226
Show file tree
Hide file tree
Showing 84 changed files with 442 additions and 700 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9866ba47c3e7b7665b5f08fa6ef684f3285c939
refs/heads/master: 5cb6a9bccaa65e0cbf567485ac6d04ca3fdae79c
Original file line number Diff line number Diff line change
Expand Up @@ -1626,5 +1626,3 @@ MX6Q_PAD_SD2_DAT3__PCIE_CTRL_MUX_11 1587
MX6Q_PAD_SD2_DAT3__GPIO_1_12 1588
MX6Q_PAD_SD2_DAT3__SJC_DONE 1589
MX6Q_PAD_SD2_DAT3__ANATOP_TESTO_3 1590
MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID 1591
MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID 1592
3 changes: 1 addition & 2 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3433,14 +3433,13 @@ S: Supported
F: drivers/idle/i7300_idle.c

IEEE 802.15.4 SUBSYSTEM
M: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
M: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
M: Sergey Lapin <slapin@ossfans.org>
L: linux-zigbee-devel@lists.sourceforge.net (moderated for non-subscribers)
W: http://apps.sourceforge.net/trac/linux-zigbee
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lowpan/lowpan.git
S: Maintained
F: net/ieee802154/
F: net/mac802154/
F: drivers/ieee802154/

IIO SUBSYSTEM AND DRIVERS
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ static struct page **__iommu_alloc_buffer(struct device *dev, size_t size, gfp_t
while (--i)
if (pages[i])
__free_pages(pages[i], 0);
if (array_size <= PAGE_SIZE)
if (array_size < PAGE_SIZE)
kfree(pages);
else
vfree(pages);
Expand All @@ -1106,7 +1106,7 @@ static int __iommu_free_buffer(struct device *dev, struct page **pages, size_t s
for (i = 0; i < count; i++)
if (pages[i])
__free_pages(pages[i], 0);
if (array_size <= PAGE_SIZE)
if (array_size < PAGE_SIZE)
kfree(pages);
else
vfree(pages);
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/m32r/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ endif

OBJCOPYFLAGS += -R .empty_zero_page

suffix-$(CONFIG_KERNEL_GZIP) = gz
suffix-$(CONFIG_KERNEL_BZIP2) = bz2
suffix-$(CONFIG_KERNEL_LZMA) = lzma
suffix_$(CONFIG_KERNEL_GZIP) = gz
suffix_$(CONFIG_KERNEL_BZIP2) = bz2
suffix_$(CONFIG_KERNEL_LZMA) = lzma

$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE
$(call if_changed,ld)
12 changes: 1 addition & 11 deletions trunk/arch/m32r/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static unsigned long free_mem_ptr;
static unsigned long free_mem_end_ptr;

#ifdef CONFIG_KERNEL_BZIP2
void *memset(void *s, int c, size_t n)
static void *memset(void *s, int c, size_t n)
{
char *ss = s;

Expand All @@ -39,16 +39,6 @@ void *memset(void *s, int c, size_t n)
#endif

#ifdef CONFIG_KERNEL_GZIP
void *memcpy(void *dest, const void *src, size_t n)
{
char *d = dest;
const char *s = src;
while (n--)
*d++ = *s++;

return dest;
}

#define BOOT_HEAP_SIZE 0x10000
#include "../../../../lib/decompress_inflate.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/m32r/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ struct pt_regs {

#define PTRACE_OLDSETOPTIONS 21

/* options set using PTRACE_SETOPTIONS */
#define PTRACE_O_TRACESYSGOOD 0x00000001

#ifdef __KERNEL__

#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
Expand Down
7 changes: 4 additions & 3 deletions trunk/arch/m32r/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,16 +591,17 @@ void user_enable_single_step(struct task_struct *child)

if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0)
!= sizeof(insn))
return;
return -EIO;

compute_next_pc(insn, pc, &next_pc, child);
if (next_pc & 0x80000000)
return;
return -EIO;

if (embed_debug_trap(child, next_pc))
return;
return -EIO;

invalidate_cache();
return 0;
}

void user_disable_single_step(struct task_struct *child)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m32r/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
case -ERESTARTNOINTR:
regs->r0 = regs->orig_r0;
if (prev_insn(regs) < 0)
return;
return -EFAULT;
}
}

Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/mn10300/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,10 @@ static int handle_signal(int sig,
else
ret = setup_frame(sig, ka, oldset, regs);
if (ret)
return ret;
return;

signal_delivered(sig, info, ka, regs,
test_thread_flag(TIF_SINGLESTEP));
return 0;
test_thread_flag(TIF_SINGLESTEP));
}

/*
Expand Down
Loading

0 comments on commit c9c2226

Please sign in to comment.