Cook pasta according to package directions. Meanwhile, in a large skillet, saute garlic in oil until tender. Stir in the walnuts, pepper flakes and salt. Cook for 2-3 minutes or until walnuts are toasted.
Remove from the heat; stir in parsley. Drain pasta; add to skillet. Add cheese; toss to coat.