[PATCH] DSPBRIDGE: Change num_proc type to u8.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 1203012297c7b0a6a36f000a870c5e1210a233e1 Mon Sep 17 00:00:00 2001
From: Shivananda Hebbar <x0hebbar@xxxxxx>
Date: Fri, 19 Mar 2010 17:29:46 -0600
Subject: [PATCH] DSPBRIDGE: Change num_proc type to u8.

num_proc is used to represent number of processors.
As of now its 1. Also it can not be > 256.
So changing it to u8.

Signed-off-by: Shivananda Hebbar <x0hebbar@xxxxxx>
---
 drivers/dsp/bridge/pmgr/wcd.c  |    2 +-
 drivers/dsp/bridge/wmd/io_sm.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index 88dd3db..cd9db42 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -447,7 +447,7 @@ u32 mgrwrap_enum_node_info(union Trapped_Args *args, void *pr_ctxt)
 u32 mgrwrap_enum_proc_info(union Trapped_Args *args, void *pr_ctxt)
 {
  u8 *processor_info;
- u32 num_procs;
+ u8 num_procs;
  dsp_status status = DSP_SOK;
  u32 size = args->args_mgr_enumproc_info.processor_info_size;
 
diff --git a/drivers/dsp/bridge/wmd/io_sm.c b/drivers/dsp/bridge/wmd/io_sm.c
index 867402f..91d67d1 100644
--- a/drivers/dsp/bridge/wmd/io_sm.c
+++ b/drivers/dsp/bridge/wmd/io_sm.c
@@ -320,7 +320,7 @@ dsp_status bridge_io_on_loaded(struct io_mgr *hio_mgr)
  u32 ul_pad_size = 0;
  u32 i;
  dsp_status status = DSP_SOK;
- u32 num_procs = 0;
+ u8 num_procs = 0;
  s32 ndx = 0;
  /* DSP MMU setup table */
  struct wmdioctl_extproc ae_proc[WMDIOCTL_NUMOFMMUTLB];
-- 
1.6.0.4--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux