Usually for finite element problems, the stiffness matrix is passed in as the first input, and the mass matrix as the second input.
Think of it this way: If all the basis functions in your model were orthogonal to each other and normalized, the mass matrix would be an identity matrix, and you would want to calculate the eigenvalues of the stiffness matrix as a simple eigenvalue problem.