~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to arch/tile/kernel/tile-desc_32.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
2413
2413
 
2414
2414
 
2415
2415
 
2416
 
/* Given a set of bundle bits and the lookup FSM for a specific pipe,
2417
 
 * returns which instruction the bundle contains in that pipe.
 
2416
/* Given a set of bundle bits and a specific pipe, returns which
 
2417
 * instruction the bundle contains in that pipe.
2418
2418
 */
2419
 
static const struct tile_opcode *
2420
 
find_opcode(tile_bundle_bits bits, const unsigned short *table)
 
2419
const struct tile_opcode *
 
2420
find_opcode(tile_bundle_bits bits, tile_pipeline pipe)
2421
2421
{
 
2422
  const unsigned short *table = tile_bundle_decoder_fsms[pipe];
2422
2423
  int index = 0;
2423
2424
 
2424
2425
  while (1)
2465
2466
    int i;
2466
2467
 
2467
2468
    d = &decoded[num_instructions++];
2468
 
    opc = find_opcode (bits, tile_bundle_decoder_fsms[pipe]);
 
2469
    opc = find_opcode (bits, (tile_pipeline)pipe);
2469
2470
    d->opcode = opc;
2470
2471
 
2471
2472
    /* Decode each operand, sign extending, etc. as appropriate. */