Want to leave UCSC, but don't have the GPA

What if the student changes majord and thus has credits but they sont match the newly chosen major? Do the non gen eds/non major credits count toward the total?