diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-08-22 17:33:44 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-08-24 12:53:03 -0500 |
commit | 5d30abd488109fafecdfb3119449aefa5dd685b2 (patch) | |
tree | 8ef9d0d49b15507b8d1f3d82a52ce27d8af242d7 /src/sys/vfs | |
parent | 0977c6da14b8fc1623043daa429041863498aeae (diff) | |
download | talos-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.tar.gz talos-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.zip |
Add environment var to remove debug messages.
- Add printkd function.
- Create HOSTBOOT_DEBUG env var for printk.
- Update trace interfaces to utilize HOSTBOOT_DEBUG.
- Fix compile errors due to unused variables.
Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/sys/vfs')
-rw-r--r-- | src/sys/vfs/vfs_main.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/vfs/vfs_main.C b/src/sys/vfs/vfs_main.C index 33d79d8f2..a4d066c85 100644 --- a/src/sys/vfs/vfs_main.C +++ b/src/sys/vfs/vfs_main.C @@ -92,8 +92,8 @@ void vfs_main(void* i_barrier) e->msg_q = (msg_q_t) msg->data[0]; vfsContents.insert(e); - printk("VFS: Registering %p as %s\n", - e->msg_q, e->key.key); + printkd("VFS: Registering %p as %s\n", + e->msg_q, e->key.key); msg_respond(vfsMsgQ, msg); } break; @@ -113,8 +113,8 @@ void vfs_main(void* i_barrier) case VFS_MSG_EXEC: { - printk("VFS: Got exec request of %s\n", - (const char*)msg->data[0]); + printkd("VFS: Got exec request of %s\n", + (const char*)msg->data[0]); VfsSystemModule* module = vfs_find_module(VFS_MODULES, @@ -177,6 +177,6 @@ tid_t vfs_exec(VfsSystemModule * i_module, void* i_param) } return child; } - + |