summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/lockdoc/log.c2
-rw-r--r--sys/sys/lockdoc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/lockdoc/log.c b/sys/lockdoc/log.c
index 7454713a353..e0f832e02e6 100644
--- a/sys/lockdoc/log.c
+++ b/sys/lockdoc/log.c
@@ -120,7 +120,7 @@ void __trace_irqs_on_check(int tf_eflags, const char *file, int line) {
/* Since we cannot use the C DEFINES in interrupt handling asm routines */
void __trace_irqs_on_asm(void) {
- __trace_irqs_on("asm", 0);
+ __trace_irqs_on("dummy", 0);
}
void __trace_irqs_off(const char *file, int line) {
diff --git a/sys/sys/lockdoc.h b/sys/sys/lockdoc.h
index abd17d6b21a..e599787bb78 100644
--- a/sys/sys/lockdoc.h
+++ b/sys/sys/lockdoc.h
@@ -97,7 +97,7 @@ static inline void lockdoc_log_memory(int alloc, const char *datatype, const voi
memset(&la_buffer,0,sizeof(la_buffer));
la_buffer.action = (alloc == 1 ? LOCKDOC_ALLOC : LOCKDOC_FREE);
- la_buffer.ptr = (unsigned long)ptr;
+ la_buffer.ptr = (uint32_t)ptr;
la_buffer.size = size;
la_buffer.ctx = lockdoc_get_ctx();