mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Add KGDB support.
zImage fix. various cleanup -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABCAAGBQJWoGJGAAoJEEdC8EELKDmcaQYP/32M9SkO6BQP/FeegmBjUnbW JLNA4g7eatmVc31LuC7TvnijJ3MHzcCGh9fe0VxnIY5x1Qr5aewapemMK1z7zoCD 2nXi36jRWkxxGr7OnThr3h26N4TzBmb0a/0N0nhRNTS5GkpDIeakX1M7bsQ/9WDj Ex4uaH8U+NiwbsDeBXVCzb2aOUY0zF7Siw4iu7gJKNBZN2epuWaPvnMfxVKhM4L3 05GIo7me1bYukAtmHUGJ0MoiSzIRq5zilOgriiNA3wMbsBmbHsiQA8MJ7d5JPEK+ ZgvK3AuAj4q7CdUY4BvQmTj2ACUD6e8iyBvKs+2U1hrrsnIjJThtXr2kpXMxNrJw imQldzsc/nIuqriUH6z5y3Z7yxnZTQlGWW9G/7G90nSrQH56q0e+/JMwO3pkYZGC ZfvBUdgLLLnvLx6JUoJifLZBErqkbdBsOar8X8NHVyv23lx8Bfqk99BWGsXUfhYJ HopI9ggvsiasGFh/VyYr9HqP8IwJVMoHmf/iHtZO/eYslyWmmdYiRP9DY+Ldx9CF UnLfin0Nipuh5kV1j6uSfbghjnt0Bp7J6XiKSmdtI3DQ16PWi5w0lD88A+dBneql 5zWlheQuZL+s1c71wpSBX4nYEJmLDX7PRiqiRe1BD/4Empu2ePmBeszmWu22UFEi akLnKG68+ZPi4EU8cUOs =7t5+ -----END PGP SIGNATURE----- Merge tag 'for-4.5' of git://git.osdn.jp/gitroot/uclinux-h8/linux Pull h8300 updates from Yoshinori Sato: - Add KGDB support - zImage fix - various cleanup * tag 'for-4.5' of git://git.osdn.jp/gitroot/uclinux-h8/linux: h8300: System call entry enable interrupt. h8300: show_stack cleanup h8300: Restraint of warning. h8300: Add KGDB support. irqchip: renesas-h8s: Replace ctrl_outw/ctrl_inw with writew/readw h8300: signal stack fix h8300: Add LZO compression h8300: zImage alignment fix clk: h8300: Remove "sh73a0-" part from compatible value h8300: zImage alignment fix
This commit is contained in:
commit
278e5acae1
14 changed files with 244 additions and 31 deletions
|
|
@ -40,8 +40,8 @@ static void h8s_disable_irq(struct irq_data *data)
|
|||
addr = IPRA + ((ipr_table[irq - 16] & 0xf0) >> 3);
|
||||
pos = (ipr_table[irq - 16] & 0x0f) * 4;
|
||||
pri = ~(0x000f << pos);
|
||||
pri &= ctrl_inw(addr);
|
||||
ctrl_outw(pri, addr);
|
||||
pri &= readw(addr);
|
||||
writew(pri, addr);
|
||||
}
|
||||
|
||||
static void h8s_enable_irq(struct irq_data *data)
|
||||
|
|
@ -54,9 +54,9 @@ static void h8s_enable_irq(struct irq_data *data)
|
|||
addr = IPRA + ((ipr_table[irq - 16] & 0xf0) >> 3);
|
||||
pos = (ipr_table[irq - 16] & 0x0f) * 4;
|
||||
pri = ~(0x000f << pos);
|
||||
pri &= ctrl_inw(addr);
|
||||
pri &= readw(addr);
|
||||
pri |= 1 << pos;
|
||||
ctrl_outw(pri, addr);
|
||||
writew(pri, addr);
|
||||
}
|
||||
|
||||
struct irq_chip h8s_irq_chip = {
|
||||
|
|
@ -90,7 +90,7 @@ static int __init h8s_intc_of_init(struct device_node *intc,
|
|||
/* All interrupt priority is 0 (disable) */
|
||||
/* IPRA to IPRK */
|
||||
for (n = 0; n <= 'k' - 'a'; n++)
|
||||
ctrl_outw(0x0000, IPRA + (n * 2));
|
||||
writew(0x0000, IPRA + (n * 2));
|
||||
|
||||
domain = irq_domain_add_linear(intc, NR_IRQS, &irq_ops, NULL);
|
||||
BUG_ON(!domain);
|
||||
|
|
|
|||
Loading…
Reference in a new issue