summaryrefslogtreecommitdiff
path: root/linux/dev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-20 02:37:02 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-20 02:43:48 +0100
commit84bf93fa103eb9e2ed914b67cd5d2c7058d30b42 (patch)
tree0a347a557ed9e16fd7fd901b3cf6537be633c2ca /linux/dev
parent0410dd9e3fe657ef3d8334394180eac5956d407d (diff)
Use long types
* ddb/db_examine.c (db_xcdump): Do not cast addr before passing to db_read_bytes. * ddb/db_macro.c (db_arg_variable): Return long. * ddb/db_macro.h (db_arg_variable): Likewise. * ddb/db_sym.c (db_maxoff): Set type to unsigned long. * ddb/db_task_thread.c (db_set_default_thread, db_get_task_thread): Return long. * ddb/db_variables.h (db_variable): Make fcn function field to return long. (FCN_NULL): Make function type return long. * i386/i386/db_interface.c (int_regs): Set field sizes to long. * i386/i386/db_machdep.h (db_expr_t): Set type to long. * i386/i386/db_trace.c (db_i386_reg_value): Return long. Use long types. (i386_frame, i386_kregs, interrupt_frame, db_nextframe): Set field sizes to long. (db_regs, i386_kregs): Use long * pointers. (db_lookup_i386_kreg): Return long *. (db_numargs, db_nextframe, db_stack_trace_cmd, db_i386_stack_trace): Use long types. * i386/i386/debug_i386.c (dump_ss): Fix format. * i386/i386/ktss.c (ktss_init): Use long type. * i386/i386/pcb.c (set_user_regs): Likewise. * i386/i386/thread.h (i386_saved_state, v86_segs, i386_kernel_state, i386_interrupt_state): Set field sizes to long. * i386/i386/trap.c (kernel_trap, user_trap): Fix formats. * kern/ast.h (ast_t): Set type to long. * kern/boot_script.c (create_task, resume_task, prompt_resume_task, boot_script_set_variable): Use long types. * kern/boot_script.h (boot_script_set_variable): Use long type. * kern/bootstrap.c (bootstrap_create): Pass long type. * kern/lock.c (simple_lock, simple_lock_try): Use long type. * linux/dev/kernel/softirq.c (linux_soft_intr): Fix format.
Diffstat (limited to 'linux/dev')
-rw-r--r--linux/dev/kernel/softirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/kernel/softirq.c b/linux/dev/kernel/softirq.c
index 82e1442..ac95a7d 100644
--- a/linux/dev/kernel/softirq.c
+++ b/linux/dev/kernel/softirq.c
@@ -44,5 +44,5 @@ linux_soft_intr (void)
}
return;
bad_bh:
- printk ("linux_soft_intr:bad interrupt handler entry %08lx\n", mask);
+ printk ("linux_soft_intr:bad interrupt handler entry %08x\n", mask);
}