dragon-nx32: updates for type changes etc
authorAlan Cox <alan@linux.intel.com>
Tue, 13 Sep 2016 22:42:01 +0000 (23:42 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 13 Sep 2016 22:42:01 +0000 (23:42 +0100)
Kernel/platform-dragon-nx32/devlpr.c
Kernel/platform-dragon-nx32/discard.c

index 9ddfae4..9c62b18 100644 (file)
@@ -26,9 +26,9 @@ int lpr_close(uint8_t minor)
 static int iopoll(int sofar)
 {
        /* Ought to be a core helper for this lot ? */
-       if (need_resched())
+       if (need_reschedule())
                _sched_yield();
-       if (udata.u_cursig || udata.u_ptab->p_pending) {
+       if (chksigs()) {
                if (sofar)
                        return sofar;
                udata.u_error = EINTR;
index 0580601..83863c5 100644 (file)
@@ -24,7 +24,7 @@ void pagemap_init(void)
 #endif
 }
 
-uint8_t platform_param(unsigned char *p)
+uint8_t platform_param(char *p)
 {
        return 0;
 }