OSDN Git Service

fix issue
authorYoshinori Sato <ysato@users.sourceforge.jp>
Sun, 21 Apr 2019 07:02:23 +0000 (16:02 +0900)
committerYoshinori Sato <yo-satoh@sios.com>
Sat, 29 Jan 2022 07:39:00 +0000 (16:39 +0900)
arch/rx/boot/dts/rx_sim.dts
arch/rx/include/asm/irqflags.h
arch/rx/kernel/head.S
arch/rx/kernel/setup.c

index fd94fa9..2cd76bf 100644 (file)
@@ -81,7 +81,7 @@
        sci0: serial@00088240 {
                compatible = "renesas,sci";
                reg = <0x00088240 8>;
-               interrupts = <214 0>, <215 0>, <216 0>, <217 0>;
+               interrupts = <214 0>, <215 0>, <216 0>, <0 0>, <0 0>, <217 0>;
                clocks = <&pclk>;
                clock-names = "sci_ick";
        };
@@ -89,7 +89,7 @@
        sci1: serial@00088248 {
                compatible = "renesas,sci";
                reg = <0x00088248 8>;
-               interrupts = <218 0>, <219 0>, <220 0>, <221 0>;
+               interrupts = <218 0>, <219 0>, <220 0>, <0 0>, <0 0>, <221 0>;
                clocks = <&pclk>;
                clock-names = "sci_ick";
        };
index 9c1f50c..74b6483 100644 (file)
@@ -38,7 +38,7 @@ static inline void arch_local_irq_restore(unsigned long iflag)
                
 static inline int arch_irqs_disabled_flags(unsigned long psw)
 {
-       return (psw & 0x10000) == 0;
+       return (psw & (1 << 16)) == 0;
 }
 
 static inline int arch_irqs_disabled(void)
index c788433..e93f4db 100644 (file)
@@ -16,7 +16,7 @@
        .section        .head.text,"ax"
 startup:
        mov.l   #CONFIG_INITIAL_STACK,r0
-#if !defined(CONFIG_RX_GDB_SIM) || 1
+#if !defined(CONFIG_RX_GDB_SIM)
 #if defined(CONFIG_ROMKERNEL)
        mov.l   #setup_bsc,r1
        jsr     r1
index b285a01..11c7275 100644 (file)
@@ -170,7 +170,7 @@ const struct seq_operations cpuinfo_op = {
 
 static int __init device_probe(void)
 {
-       of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+       of_platform_default_populate(NULL, NULL, NULL);
 
        return 0;
 }